/* Base reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; color: #222; background: #f7f7f7; }

/* Colors and variables */
:root {
  --brand: #ff4757;
  --text: #222;
  --muted: #777;
  --border: #eee;
  --bg: #f7f7f7;
  --ad-bg: #fff7e6;
}

.container {
  max-width: min(53.75rem, calc(100vw - 2.5rem)); /* 响应式宽度：860px 或 屏幕宽度-2.5rem */
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: relative;
  background: linear-gradient(135deg, #ff4757, #ff3742);
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(255, 71, 87, 0.15);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  position: relative;
  padding: 0 16px;
}
.site-logo { 
  font-weight: 700; 
  color: #fff; 
  text-decoration: none; 
  font-size: 18px; 
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* 返回按钮样式优化 */
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.back-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.back-button:active {
  transform: translateX(-1px) scale(1.02);
  background: rgba(255, 255, 255, 0.3);
}
.back-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.back-button:hover::before {
  left: 100%;
}
.back-icon {
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.back-button:hover .back-icon {
  transform: translateX(-1px);
}

.site-search { flex: 1; display: flex; align-items: center; gap: 8px; }

/* 搜索广告小容器 - 只占用很小空间 */
.search-ad-small {
  flex: 0 0 auto;
  width: 80px; /* 固定小宽度 */
  max-width: 80px;
  min-width: 60px;
  height: 40px; /* 与搜索框同高 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.search-ad-small script {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.search-ad-small > div,
.search-ad-small iframe,
.search-ad-small img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
.site-search input[type="search"],
.site-search input[type="text"] {
  flex: 1; /* 占据剩余空间 */
  min-width: 200px; /* 最小宽度 */
  max-width: 400px; /* 最大宽度 */
  height: 40px;
  border: none;
  border-radius: 20px;
  padding: 0 16px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.site-search input[type="search"]:focus,
.site-search input[type="text"]:focus {
  outline: none;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.site-search input[type="search"]::placeholder,
.site-search input[type="text"]::placeholder { 
  color: #666; 
  font-weight: 400;
}

/* 搜索按钮样式优化 - 现在是广告位 */
.site-search button {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* 广告位标识 */
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.site-search button:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.site-search button:active {
  transform: translateY(0) scale(1.05);
  background: rgba(255, 255, 255, 0.45);
}
.site-search button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
  border-radius: 12px;
}
.site-search button:hover::before {
  left: 100%;
}
.site-search button::after {
  content: '广告';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.site-search button:hover::after {
  opacity: 1;
}
.search-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  position: relative;
  z-index: 1;
}

/* Pulse动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #dee2e6;
  padding: 20px 0;
  margin-top: 30px;
  font-size: 13px;
}

.site-footer .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.site-footer .footer-logo {
  width: 90px;
  height: 27px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(66, 133, 244, 0.1));
  flex-shrink: 0;
}

.site-footer .brand-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  background: linear-gradient(135deg, #4285f4, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer .brand-info p {
  margin: 0;
  color: #6c757d;
  font-size: 12px;
  line-height: 1.3;
}

.site-footer .footer-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-footer .footer-links a:hover {
  color: #4285f4;
}

.site-footer .footer-bottom {
  padding-top: 15px;
  border-top: 1px solid #dee2e6;
}

.site-footer .footer-company-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 15px;
}

.site-footer .company-details h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.site-footer .company-contact p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6c757d;
  line-height: 1.5;
}

.site-footer .company-contact p:last-child {
  margin-bottom: 0;
}

.site-footer .company-contact a {
  color: #4285f4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .company-contact a:hover {
  color: #007bff;
  text-decoration: underline;
}

.site-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .footer-copyright {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.4;
}

.site-footer .icp-number {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-top: 4px;
}

.site-footer .footer-meta {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.site-footer .footer-meta a {
  color: #6c757d;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.site-footer .footer-meta a:hover {
  color: #4285f4;
}

/* Ad blocks - 广告样式优化，与内容无缝融合 */
.ad-block {
  display: block !important;
  margin: 16px 0;
  background: transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ad-block:hover {
  /* 移除阴影和变换效果 */
}

.ad-inline {
  margin: 12px 0;
  padding: 8px;
}

.ad-large {
  margin: 20px 0;
  min-height: 90px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.ad-wrapper {
  width: 100%;
  position: relative;
}

.ad-container {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 百度广告风格 - 精致整体白色背景包裹 */
.article {
  position: relative;
  display: block;
  width: 100%;
  max-width: min(37.5rem, calc(100vw - 2rem)); /* 响应式宽度：600px 或 屏幕宽度-2rem */
  min-height: 12.5rem; /* 200px / 16px = 12.5rem */
  margin: 1rem auto; /* 16px外边距，更好的间距 */
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); /* 微妙的渐变背景 */
  border: 1px solid #e1e8ed; /* 更精致的边框色 */
  border-radius: 12px; /* 更大的圆角 */
  box-shadow:
    0 2px 8px rgba(0,0,0,0.06),
    0 1px 3px rgba(0,0,0,0.08); /* 多层阴影 */
  padding: 1.5rem; /* 24px内边距 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 更平滑的过渡 */
  font-size: 16px; /* 基准字体大小 */
  box-sizing: border-box; /* 确保padding不会导致超出宽度 */
  overflow: hidden; /* 防止内容溢出 */
}

/* Article底部百度蓝色装饰 */
.article::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(66, 133, 244, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article:hover::after {
  opacity: 1;
}

/* Article悬停效果 - 百度蓝色主题 */
.article:hover {
  box-shadow:
    0 8px 25px rgba(0,0,0,0.1),
    0 4px 12px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.06);
  border-color: rgba(66, 133, 244, 0.3);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Article整体包裹优化 - 百度蓝色顶部装饰 */
.article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 3px rgba(66, 133, 244, 0.3);
}

/* 文章标题样式 - 百度蓝色主题 */
.article .article-title {
  color: #4285f4; /* 百度蓝色 */
  font-size: 1.1rem; /* 17.6px，增大字体 */
  font-weight: 500; /* 稍微加粗 */
  text-align: left;
  margin: 0.25rem 0rem 0.5rem 0rem; /* 4px 0px 8px 0px */
  font-family: 微软雅黑, "Microsoft Yahei", sans-serif;
  height: auto;
  line-height: 1.4; /* 更好的行高 */
  word-wrap: break-word;
  word-break: break-all;
  display: block;
  letter-spacing: 0.025rem; /* 0.4px */
  transition: color 0.3s ease;
}

.article .article-title:hover {
  color: #3367d6; /* 悬停时更深的百度蓝色 */
}

/* 文章元信息样式 - 精确复刻百度广告问答标签 */
.article .article-meta {
  display: flex;
  align-items: center;
  color: #000000;
  font-size: 0.8125rem; /* 13px / 16px = 0.8125rem */
  font-weight: 400;
  text-align: left;
  margin: 0rem 0rem 0rem 0rem;
  font-family: Microsoft Yahei, 宋体, "Hiragino Sans GB", sans-serif;
  height: 1.125rem; /* 18px / 16px = 1.125rem */
  line-height: 1.125rem;
  position: relative;
}

.article .article-tag {
  color: #ffffff;
  background: linear-gradient(135deg, #f5a623, #e69503);
  padding: 0.125rem 0.25rem; /* 2px 4px */
  border-radius: 0.1875rem; /* 3px */
  font-weight: 600;
  font-size: 0.75rem; /* 12px */
  margin-right: 0.25rem; /* 4px */
  flex-shrink: 0;
  box-shadow: 0 0.0625rem 0.125rem rgba(245,166,35,0.3); /* 1px 2px */
  letter-spacing: 0.025rem;
  text-shadow: 0 0.03125rem 0.03125rem rgba(0,0,0,0.1); /* 0.5px */
}

.article .article-meta-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666666;
  font-weight: 400;
}

/* 文章内容样式 - 百度蓝色主题，增大字体 */
.article .article-body {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #1a1a1a; /* 稍微深一点的颜色 */
  font-size: 1rem; /* 16px，增大字体 */
  font-weight: 400;
  text-align: left;
  margin: 0rem 0rem 0rem 0rem;
  font-family: Microsoft Yahei, 宋体, "Hiragino Sans GB", sans-serif;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.6; /* 更好的行高 */
  background: #ffffff; /* 纯白底背景 */
  padding: 0.75rem; /* 增加内边距 */
  border-radius: 8px; /* 增加圆角 */
  border: 1px solid #f0f0f0; /* 添加轻微边框 */
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* 轻微阴影 */
}

.article .article-answer-tag {
  color: #ffffff;
  background: linear-gradient(135deg, #4285f4, #3367d6); /* 百度蓝色渐变 */
  padding: 0.1875rem 0.375rem; /* 3px 6px，增加内边距 */
  border-radius: 0.25rem; /* 4px，增加圆角 */
  font-weight: 600;
  font-size: 0.875rem; /* 14px，增大字体 */
  margin-bottom: 0.375rem; /* 6px，增加下边距 */
  align-self: flex-start;
  box-shadow: 0 0.0625rem 0.125rem rgba(66, 133, 244, 0.3); /* 百度蓝色阴影 */
  letter-spacing: 0.025rem;
  text-shadow: 0 0.03125rem 0.03125rem rgba(0,0,0,0.1); /* 0.5px */
  min-width: 1.25rem; /* 20px，增加最小宽度 */
  text-align: center;
}

.article .article-content-text {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 限制显示行数 */
  overflow: hidden;
  color: #2d3748; /* 稍微深一点，与主体颜色协调 */
  font-weight: 400;
  font-size: 0.95rem; /* 稍微调整字体大小 */
  margin-bottom: 0.375rem; /* 6px */
  line-height: 1.5; /* 更好的行高 */
}

/* 查看更多按钮样式 */
.article .article-view-more {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.25rem; /* 4px */
}

.article .view-more-btn {
  background: none;
  border: none;
  color: #4285f4; /* 百度蓝色 */
  font-size: 0.875rem; /* 14px，增大字体 */
  font-weight: 500; /* 稍微加粗 */
  cursor: pointer;
  padding: 0.1875rem 0.375rem; /* 3px 6px，增加内边距 */
  border-radius: 0.1875rem; /* 3px，增加圆角 */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.125rem; /* 2px */
}

.article .view-more-btn:hover {
  background: rgba(66, 133, 244, 0.1); /* 百度蓝色背景 */
  color: #3367d6; /* 更深的百度蓝色 */
  transform: translateY(-1px);
}

.article .view-more-text {
  font-size: 0.875rem; /* 14px，与按钮保持一致 */
  font-weight: 500;
}

.article .view-more-icon {
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  color: #4285f4; /* 百度蓝色 */
  transition: color 0.3s ease;
}

.article .view-more-btn:hover .view-more-icon {
  color: #3367d6; /* 悬停时更深的百度蓝色 */
}

/* 展开按钮样式 - 百度蓝色主题 */
.article .expand-btn {
  color: #4285f4; /* 百度蓝色 */
  font-size: 1.1rem; /* 增大字体 */
  font-weight: 500;
  text-align: center;
  margin: 1rem 0rem 0rem 0rem;
  background: none;
  border: 1px solid #4285f4; /* 百度蓝色边框 */
  cursor: pointer;
  padding: 0.625rem 1.25rem; /* 10px 20px，增加内边距 */
  border-radius: 0.5rem;
  background: rgba(66, 133, 244, 0.05); /* 微妙的百度蓝色背景 */
  transition: all 0.3s ease;
}

.article .expand-btn:hover {
  background: rgba(66, 133, 244, 0.1);
  border-color: #3367d6;
  color: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* 参考39健康网的广告样式 - 保持兼容性 */
.ad-1 {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%; /* 防止超出容器宽度 */
  padding: 0.17rem 0.5rem 0.13rem 0.24rem; /* 减少右侧padding */
  line-height: 1;
  margin: 0.5rem 0; /* 8px / 16px = 0.5rem */
  background: #fff;
  border-radius: 0.1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.08);
  font-size: 0;
  transition: all 0.3s ease;
  box-sizing: border-box; /* 确保不会超出容器宽度 */
  overflow: hidden; /* 防止内容溢出 */
}

/* 头部广告位 - 移除所有样式，让广告直接显示 */

/* 文章内容展开/收起样式 */
.article-body {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-body.collapsed {
  max-height: 300px;
}

.article-body.expanded {
  max-height: none;
}

/* 展开按钮容器 */
.expand-container {
  text-align: center;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* 展开按钮样式 */
.expand-btn {
  background: linear-gradient(135deg, #4285f4, #007bff);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  position: relative;
  overflow: hidden;
}

.expand-btn:hover {
  background: linear-gradient(135deg, #3367d6, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
}

.expand-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(66, 133, 244, 0.3);
}

.expand-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.expand-btn:hover::before {
  left: 100%;
}

.expand-btn.collapsed .expand-text {
  content: "展开阅读全文";
}

.expand-btn.expanded .expand-text {
  content: "收起内容";
}

.expand-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

.expand-text,
.expand-icon {
  transition: all 0.3s ease;
}

/* 展开按钮下方的广告位样式 */
#expand-container .ad-1 {
  margin: 20px auto 0;
  max-width: 100%;
}

/* 问答轮播广告样式 */
.qa-carousel-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px / 16px = 0.5rem */
  margin-top: 0.9375rem; /* 15px / 16px = 0.9375rem */
  width: 100%;
  max-width: 100%; /* 防止超出容器宽度 */
  overflow: hidden; /* 防止内容溢出 */
  box-sizing: border-box;
}

.qa-carousel-item {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
  margin: 0.375rem 0; /* 6px / 16px = 0.375rem */
  width: 100%;
  max-width: 100%; /* 防止超出容器宽度 */
  overflow: hidden; /* 防止内容溢出 */
  box-sizing: border-box;
}

.qa-carousel-item.active {
  opacity: 1;
  transform: translateY(0);
}

.qa-carousel-item.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 猜你喜欢轮播广告样式 */
.recommend-carousel-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px / 16px = 0.5rem */
  margin-top: 0.9375rem; /* 15px / 16px = 0.9375rem */
  width: 100%;
  max-width: 100%; /* 防止超出容器宽度 */
  overflow: hidden; /* 防止内容溢出 */
  box-sizing: border-box;
}

.recommend-carousel-item {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
  margin: 0.375rem 0; /* 6px / 16px = 0.375rem */
  width: 100%;
  max-width: 100%; /* 防止超出容器宽度 */
  overflow: hidden; /* 防止内容溢出 */
  box-sizing: border-box;
}

.recommend-carousel-item.active {
  opacity: 1;
  transform: translateY(0);
}

.recommend-carousel-item.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 猜你喜欢板块样式 - 与相关问答保持协调 */
.recommend-section {
  margin: 1.5rem 0;
  padding: 1rem 0;
  background: #fefcfa;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  position: relative;
  border: 1px solid #f5f5f5;
}

.recommend-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5a623, #e69503);
}

.recommend-section h2 {
  margin: 0 0 1rem 0;
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  position: relative;
  padding-bottom: 0.25rem;
}

.recommend-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #f5a623, #e69503);
  border-radius: 1px;
}

/* 轮播动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 相关问答板块样式 - 更低调的设计 */
.qa-section {
  margin: 1.5rem 0;
  padding: 1rem 0;
  background: #fafbfc;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  position: relative;
  border: 1px solid #f0f0f0;
}

.qa-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #47b481, #3da86b);
}

.qa-section h2 {
  margin: 0 0 1rem 0;
  font-size: 20px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  position: relative;
  padding-bottom: 0.25rem;
}

.qa-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #47b481, #3da86b);
  border-radius: 1px;
}

/* 轮播指示器 */
.qa-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.qa-carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.qa-carousel-indicator.active {
  background: #47b481;
  transform: scale(1.2);
}

/* 板块悬停效果 - 低调的交互反馈 */
.qa-section:hover,
.recommend-section:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  background: #f9fafb;
  transition: all 0.3s ease;
}

.qa-section:hover::before,
.recommend-section:hover::before {
  height: 3px;
  transition: height 0.3s ease;
}

.recommend-section:hover {
  background: #fef8f0;
}

/* 标题悬停效果 - 轻微变化 */
.qa-section h2:hover,
.recommend-section h2:hover {
  color: #2d3748;
  transition: color 0.3s ease;
}

/* 轮播指示器悬停效果 */
.qa-carousel-indicator:hover {
  background: rgba(71, 180, 129, 0.6);
  transform: scale(1.1);
}

/* 低调的进入动画效果 */
.qa-section,
.recommend-section {
  animation: subtleFadeIn 0.4s ease-out;
}

@keyframes subtleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ad-1::after {
  content: '广告';
  color: rgba(0,0,0,.2);
  position: absolute;
  right: 0.1rem; /* 稍微内移一点 */
  top: 0;
  font-size: .24rem; /* 稍微缩小字体 */
  max-width: 0.8rem; /* 限制最大宽度 */
  overflow: hidden;
}

.ad-1 img {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  margin-right: .3rem;
  vertical-align: middle;
}

.ad-1 .desc {
  display: inline-block;
  vertical-align: middle;
  margin-right: .3rem;
}

.ad-1 .desc div:first-of-type {
  font-size: .22rem;
  line-height: .4rem;
  margin-bottom: .05rem;
}

.ad-1 .desc div:first-of-type span:first-of-type {
  margin-right: .15rem;
  color: #333;
  font-weight: 500;
}

.ad-1 .desc div:last-of-type {
  max-width: 4rem;
  font-size: .26rem;
  line-height: .42rem;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}

.ad-1 .btn {
  position: absolute;
  right: 0.24rem; /* 调整为更小的值 */
  top: 50%;
  transform: translateY(-50%);
  background-color: #FEA003;
  border-radius: .1rem;
  color: #fff;
  width: 1.4rem; /* 稍微缩小宽度 */
  height: .56rem;
  line-height: .56rem;
  text-align: center;
  font-size: .24rem; /* 稍微缩小字体 */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 1.4rem; /* 确保不会超出 */
  overflow: hidden;
}

.ad-1 .btn:hover {
  background-color: #e69503;
  transform: translateY(-50%) scale(1.05);
}

/* 39健康网风格的广告类型 */
.ad-type-1 {
  color: #fff;
  background-color: #666;
}

.ad-type-1::after {
  color: rgba(255,255,255,.2);
}

.ad-type-1 .desc div:last-of-type span:last-of-type {
  color: #FEA003;
}

.ad-type-1 .desc div:first-of-type span:first-of-type {
  color: #FEA003;
}

.ad-type-2 {
  color: #47B481;
  background-color: #EDF8F2;
}

.ad-type-2::after {
  color: #DBDBDB;
}

.ad-type-2 .desc div:last-of-type span:last-of-type {
  color: #FEA003;
}

.ad-type-2 .desc div:first-of-type span:first-of-type {
  color: #FEA003;
}

.ad-type-3 {
  color: #333;
  background-color: #FFF;
}

.ad-type-3::after {
  color: #DBDBDB;
}

.ad-type-3 .desc div:last-of-type span:last-of-type {
  color: #3291F9;
}

.ad-type-3 .desc div:first-of-type span:first-of-type {
  color: #FEA003;
}

.ad-type-4 {
  color: #333;
  background-color: #E8F3FF;
}

.ad-type-4::after {
  color: #DBDBDB;
}

.ad-type-4 .desc div:last-of-type span:last-of-type {
  color: #3291F9;
}

.ad-type-4 .desc div:first-of-type span:first-of-type {
  color: #FEA003;
}

.ad-type-5 {
  color: #333;
  background-color: #F1F1F1;
}

.ad-type-5::after {
  color: #DBDBDB;
}

.ad-type-5 .desc div:last-of-type span:last-of-type {
  color: #3291F9;
}

.ad-type-5 .desc div:first-of-type span:first-of-type {
  color: #FEA003;
}

/* 广告加载状态 */
.ad-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .2rem;
  color: #6c757d;
  font-size: .28rem;
  gap: .08rem;
}

.ad-loading-spinner {
  width: .24rem;
  height: .24rem;
  border: .02rem solid #e9ecef;
  border-top: .02rem solid #4285f4;
  border-radius: 50%;
  animation: ad-spin 1s linear infinite;
}

@keyframes ad-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 广告错误状态 */
.ad-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .16rem;
  color: #6c757d;
  font-size: .26rem;
  background: transparent;
}

/* 固定底部广告 - 默认显示，支持滚动响应 */
.ad-fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw; /* 防止超出视窗宽度 */
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transform: translateY(0) scale(1); /* 默认显示并设置scale */
  opacity: 1; /* 默认完全不透明 */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* 防止内容溢出 */
  box-sizing: border-box;
}

.ad-fixed-bottom.visible {
  transform: translateY(0);
}

.ad-fixed-bottom .ad-container {
  min-height: 54px;
}

  /* 移动端广告优化 */
@media (max-width: 768px) {
  .ad-block {
    margin: 12px 0;
  }

  /* 头部广告位移动端样式 - 移除所有样式 */

  /* 移动端展开按钮样式 */
  .expand-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .expand-container {
    margin: 15px 0;
    padding: 12px 0;
  }

  /* 移动端文章内容样式 */
  .article-body.collapsed {
    max-height: 250px; /* 移动端稍微降低高度 */
  }

  /* 移动端百度广告风格样式 */
  .article {
    max-width: 100%; /* 移动端占满宽度 */
    padding: 1rem; /* 移动端调整内边距 */
    min-height: 200px; /* 移动端保持合适高度 */
    background: #ffffff; /* 确保移动端也是白色背景 */
    border: 1px solid #e8e8e8; /* 轻微边框 */
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 轻微阴影 */
    margin: 0.75rem auto; /* 移动端调整外边距 */
    position: relative; /* 确保伪元素能正确显示 */
  }

  /* 移动端Article顶部装饰条 */
  .article::before {
    height: 3px; /* 移动端稍微缩小 */
  }

  /* 移动端Article悬停效果 */
  .article:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: none; /* 移动端不使用位移效果 */
  }

  .article .article-title {
    font-size: 1rem; /* 移动端稍微减小 */
    line-height: 1.3;
    color: #4285f4; /* 保持百度蓝色 */
  }

  .article .article-meta {
    font-size: 0.9rem;
    height: 1.3rem;
    line-height: 1.3;
  }

  .article .article-tag {
    font-size: 0.8rem;
    padding: 0.1rem 0.2rem;
  }

  .article .article-meta-text {
    font-size: 0.85rem;
  }

  .article .article-body {
    font-size: 0.95rem; /* 移动端稍微增大 */
    line-height: 1.5;
    padding: 0.5rem;
    color: #1a1a1a;
  }

  .article .article-answer-tag {
    font-size: 0.8125rem; /* 13px，移动端稍微增大 */
    padding: 0.1875rem 0.3125rem;
    background: linear-gradient(135deg, #4285f4, #3367d6); /* 百度蓝色渐变 */
  }

  .article .article-content-text {
    font-size: 0.85rem;
    -webkit-line-clamp: 2; /* 移动端减少显示行数 */
  }

  .article .view-more-btn {
    font-size: 0.8125rem; /* 13px */
    padding: 0.1875rem 0.3125rem; /* 3px 5px */
    color: #4285f4; /* 百度蓝色 */
  }

  .article .view-more-btn:hover {
    color: #3367d6;
    background: rgba(66, 133, 244, 0.1);
  }

  .article .view-more-text {
    font-size: 0.8125rem; /* 13px */
  }

  .article .view-more-icon {
    font-size: 0.9375rem; /* 15px */
    color: #4285f4; /* 百度蓝色 */
  }

  .article .expand-btn {
    font-size: 1rem; /* 移动端稍微增大 */
    padding: 0.5rem 1rem;
    margin: 0.8rem 0rem 0rem 0rem;
    color: #4285f4; /* 百度蓝色 */
    border: 1px solid #4285f4;
    background: rgba(66, 133, 244, 0.05);
  }

  .article .expand-btn:hover {
    color: #3367d6;
    border-color: #3367d6;
    background: rgba(66, 133, 244, 0.1);
  }

  /* 移动端问答轮播样式 */
  .qa-carousel-container {
    gap: 0.375rem; /* 6px / 16px = 0.375rem */
    margin-top: 0.75rem; /* 12px / 16px = 0.75rem */
    max-width: 100vw; /* 确保不超过视窗宽度 */
    overflow: hidden; /* 防止内容溢出 */
  }

  .qa-carousel-item {
    margin: 0.25rem 0; /* 4px / 16px = 0.25rem */
    max-width: 100%; /* 防止超出容器宽度 */
    overflow: hidden; /* 防止内容溢出 */
  }

  /* 移动端猜你喜欢轮播样式 */
  .recommend-carousel-container {
    gap: 0.375rem; /* 6px / 16px = 0.375rem */
    margin-top: 0.75rem; /* 12px / 16px = 0.75rem */
    max-width: 100vw; /* 确保不超过视窗宽度 */
    overflow: hidden; /* 防止内容溢出 */
  }

  .recommend-carousel-item {
    margin: 0.25rem 0; /* 4px / 16px = 0.25rem */
    max-width: 100%; /* 防止超出容器宽度 */
    overflow: hidden; /* 防止内容溢出 */
  }

  .ad-inline {
    padding: 6px;
  }

  .ad-large {
    margin: 16px 0;
    min-height: 80px;
    padding: 10px;
  }

  .ad-fixed-bottom {
    height: 60px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transform: translateY(0) scale(1); /* 移动端默认显示并设置scale */
    opacity: 1; /* 移动端默认完全不透明 */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-width: 100vw; /* 确保不超过视窗宽度 */
    overflow: hidden; /* 防止内容溢出 */
    left: 0;
    right: 0;
  }

  .ad-fixed-bottom.visible {
    transform: translateY(0);
  }

  .ad-fixed-bottom .ad-container {
    min-height: 44px;
  }

  .ad-loading {
    padding: 16px;
    font-size: 13px;
  }

  .ad-loading-spinner {
    width: 20px;
    height: 20px;
  }
}

/* 内容中的广告样式 */
.article .ad-block {
  margin: 1.5625rem 0; /* 25px / 16px = 1.5625rem，移除负边距 */
  padding: 1.25rem; /* 20px / 16px = 1.25rem */
  background: #f8f9fa;
  border-radius: 0.375rem; /* 6px / 16px = 0.375rem */
  width: 100%;
  box-sizing: border-box;
}

.article .ad-inline {
  margin: 1.25rem 0; /* 20px / 16px = 1.25rem */
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.article .ad-container {
  margin: 1.25rem 0; /* 20px / 16px = 1.25rem */
  padding: 0;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

/* 列表页广告样式 */
.feed .ad-block {
  margin: 8px 0;
  background: transparent;
}

/* 首页广告样式 */
.home-products .ad-block {
  margin: 20px 0;
  background: transparent;
}

/* 响应式广告布局 */
@media (min-width: 960px) {
  .ad-large {
    min-height: 100px;
  }

  .ad-fixed-bottom {
    height: 80px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transform: translateY(0) scale(1); /* 大屏幕默认显示并设置scale */
    opacity: 1; /* 大屏幕默认完全不透明 */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  .ad-fixed-bottom.visible {
    transform: translateY(0);
  }

  .ad-fixed-bottom .ad-container {
    min-height: 64px;
  }
}

/* 确保广告容器没有额外的边框和边距 */
.ad-block,
.ad-large,
.ad-container,
.ad-wrapper {
  border: none !important;
  box-shadow: none !important;
}

/* 全局边界保护 - 防止任何广告内容超出屏幕 */
.qa-carousel-container,
.recommend-carousel-container,
.qa-carousel-item,
.recommend-carousel-item,
.ad-1,
.ad-fixed-bottom,
.ad-block,
.ad-large,
.ad-container,
.ad-wrapper {
  max-width: 100vw !important; /* 确保不超过视窗宽度 */
  overflow: hidden !important; /* 防止内容溢出 */
  box-sizing: border-box !important;
}

/* 防止文本内容超出边界 */
.ad-1 .desc div:first-of-type,
.ad-1 .desc div:last-of-type {
  word-wrap: break-word !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* 防止广告按钮超出边界 */
.ad-1 .btn {
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* 超级边界保护 - 确保广告容器不会超出屏幕边界 */
.qa-carousel-container,
.recommend-carousel-container,
.qa-carousel-item,
.recommend-carousel-item,
.ad-1,
.ad-block,
.ad-large,
.ad-container,
.ad-wrapper,
.ad-fixed-bottom,
.article,
.article .ad-block,
.article .ad-container,
.article .ad-wrapper {
  max-width: 100vw !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 防止任何绝对定位元素超出边界 */
.ad-1::after,
.ad-1 .btn {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* 防止文本换行导致的超出 */
.ad-1 .desc div:first-of-type,
.ad-1 .desc div:last-of-type {
  word-wrap: break-word !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* 额外的移动端边界保护 */
@media (max-width: 768px) {
  /* 确保所有轮播元素都不会超出屏幕 */
  .qa-carousel-container,
  .recommend-carousel-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 确保所有广告元素都有正确的边界 */
  .ad-1,
  .ad-block,
  .ad-large,
  .ad-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.2rem !important; /* 减少左侧padding */
    padding-right: 0.3rem !important; /* 减少右侧padding */
  }

  /* 特别针对39健康网风格广告的边界保护 */
  .ad-1 {
    padding: 0.17rem 0.3rem 0.13rem 0.2rem !important; /* 进一步减少padding */
  }

  /* 防止任何元素通过transform超出边界 */
  .qa-carousel-item,
  .recommend-carousel-item {
    transform: none !important; /* 移除可能导致超出边界的transform */
  }

  /* 广告按钮移动端优化 */
  .ad-1 .btn {
    right: 0.15rem !important; /* 进一步内移 */
    width: 1.2rem !important; /* 缩小宽度 */
    font-size: .22rem !important; /* 缩小字体 */
    max-width: 1.2rem !important;
  }

  /* 广告标识移动端优化 */
  .ad-1::after {
    right: 0.05rem !important; /* 进一步内移 */
    font-size: .22rem !important; /* 缩小字体 */
    max-width: 0.7rem !important;
  }

  /* 确保头像不会超出 */
  .ad-1 img {
    max-width: .7rem !important; /* 缩小头像 */
    margin-right: .2rem !important; /* 减少右边距 */
  }

  /* 描述文本优化 */
  .ad-1 .desc {
    margin-right: .2rem !important; /* 减少右边距 */
  }

  .ad-1 .desc div:last-of-type {
    max-width: 3.5rem !important; /* 限制描述文本宽度 */
  }

  /* 最终边界保护 - 确保移动端没有任何元素超出 */
  .qa-carousel-container,
  .recommend-carousel-container,
  .qa-carousel-item,
  .recommend-carousel-item,
  .ad-1,
  .ad-block,
  .ad-large,
  .ad-container {
    margin: 0 !important;
    padding-left: 0.1rem !important;
    padding-right: 0.1rem !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* 确保所有容器都有正确的宽度限制 */
  body,
  .container,
  main,
  .page {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* 确保文章容器完全无缝 */
.article,
.article .ad-block,
.article .ad-container,
.article .ad-wrapper {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Feed list (information flow) */
.feed { list-style: none; padding: 0; margin: 0; }
.feed-item { background: #fff; border-bottom: 1px solid var(--border); }
.feed-link { display: block; padding: 12px; color: inherit; text-decoration: none; }
/* 隐藏缩略图 */
.feed-thumb {
  display: none;
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-body h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 600; color: #111; }
.feed-summary { margin: 0 0 6px; color: #555; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-meta { color: var(--muted); font-size: 12px; }
.ad-item { padding: 8px 12px; background: #fff; }

/* Page hero spacing */
.page { padding-bottom: 24px; }
.page .top-ad { margin-top: 8px; }

/* Content page - 样式已统一到上面的.article定义 */
.article-title { margin: 6px 0 10px; font-size: 20px; line-height: 1.35; }
.article-meta { color: var(--muted); font-size: 12px; margin-bottom: 10px; display: none; }
.article-cover { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; background: #f0f0f0; margin: 6px 0 12px; }
.article-body { font-size: 17px; line-height: 1.85; color: #1a1a1a; letter-spacing: 0.2px; }
.article-body p { margin: 0 0 14px; }
.article-body h2 { font-size: 18px; margin: 18px 0 10px; font-weight: 600; }
.article-body h3 { font-size: 16px; margin: 16px 0 8px; font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 1.2em; margin: 0 0 14px; }
.article-body strong { color: #111; }
.article-body img { display: none !important; }
.article .ad-top {
  margin: 15px 0;
  padding: 0;
}

.article .ad-bottom {
  margin: 15px 0 0;
  padding: 0;
}

/* Contact page styles */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.contact-section {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-section h2 {
  margin: 0 0 20px;
  font-size: 18px;
  color: #2c3e50;
  border-bottom: 2px solid #4285f4;
  padding-bottom: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #495057;
}

.contact-item p {
  margin: 0;
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
}

.contact-item small {
  display: block;
  margin-top: 4px;
  color: #adb5bd;
  font-size: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 500;
  color: #495057;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.submit-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #4285f4, #007bff);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.address-info p {
  margin: 0 0 8px;
  color: #6c757d;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  color: #4285f4;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #4285f4;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #4285f4;
  color: #fff;
}

/* Cooperation page styles */
.cooperation-intro {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.cooperation-intro p {
  margin: 0;
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
}

.cooperation-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cooperation-section {
  margin-bottom: 20px;
}

.cooperation-section h2 {
  margin: 0 0 24px;
  font-size: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #4285f4;
  padding-bottom: 10px;
}

.cooperation-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cooperation-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.cooperation-card:hover {
  transform: translateY(-2px);
}

.cooperation-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #2c3e50;
}

.cooperation-card p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.advantage-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.advantage-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2c3e50;
}

.advantage-item p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
}

.contact-box {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.contact-box p {
  margin: 0 0 20px;
  color: #6c757d;
  font-size: 16px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-method {
  text-align: center;
  min-width: 200px;
}

.contact-method h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2c3e50;
}

.contact-method p {
  margin: 0 0 4px;
  color: #6c757d;
  font-size: 14px;
}

.contact-method small {
  color: #adb5bd;
  font-size: 12px;
}

/* Help page styles */
.help-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.help-section {
  margin-bottom: 16px;
}

.help-section h2 {
  margin: 0 0 20px;
  font-size: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #4285f4;
  padding-bottom: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 4px solid #4285f4;
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #2c3e50;
}

.faq-item p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
}

.support-info {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.support-info p {
  margin: 0 0 24px;
  color: #6c757d;
  font-size: 16px;
}

.support-methods {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.support-item {
  text-align: center;
  min-width: 180px;
}

.support-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #2c3e50;
}

.support-item p {
  margin: 0 0 4px;
  color: #6c757d;
  font-size: 14px;
}

.service-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 20px;
  border-radius: 8px;
}

.service-notice p {
  margin: 0 0 12px;
  color: #856404;
  line-height: 1.6;
}

.service-notice p:last-child {
  margin-bottom: 0;
}

/* Privacy page styles */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 32px;
  line-height: 1.7;
}

.policy-section h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #2c3e50;
  border-bottom: 2px solid #4285f4;
  padding-bottom: 8px;
}

.policy-section p {
  margin: 0 0 16px;
  color: #495057;
}

.policy-section h3 {
  margin: 20px 0 12px;
  font-size: 16px;
  color: #2c3e50;
}

.policy-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.policy-section li {
  margin-bottom: 8px;
  color: #6c757d;
}

.policy-section strong {
  color: #2c3e50;
}

.policy-date {
  text-align: center;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 32px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

/* Utilities */
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* Desktop tweaks */
@media (min-width: 960px) {
  .site-header .bar { height: 60px; }
  .feed-link { padding: 14px; }
}

/* Mobile optimizations */
@media (max-width: 480px) {
  .site-header .bar {
    height: 52px;
    gap: 10px;
  }
  .back-button {
    width: 36px;
    height: 36px;
  }
  .back-icon {
    font-size: 18px;
  }
  .site-search input[type="search"],
  .site-search input[type="text"] {
    font-size: 15px;
    height: 36px;
    padding: 0 14px;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
  }

  /* 移动端搜索广告小容器 */
  .search-ad-small {
    flex: 0 0 auto;
    width: 60px; /* 移动端更小 */
    max-width: 60px;
    min-width: 50px;
    height: 36px; /* 与移动端搜索框同高 */
  }
  .site-search button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .search-icon {
    font-size: 16px;
  }
  .site-logo {
    font-size: 16px;
  }

  /* Footer mobile optimizations */
  .site-footer {
    padding: 18px 0 15px;
    margin-top: 25px;
  }

  .site-footer .footer-main {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 12px;
  }

  .site-footer .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .site-footer .footer-logo {
    width: 80px;
    height: 24px;
  }

  .site-footer .brand-info h4 {
    font-size: 14px;
  }

  .site-footer .brand-info p {
    font-size: 11px;
    text-align: center;
  }

  .site-footer .footer-links {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .site-footer .footer-bottom {
    padding-top: 12px;
  }

  .site-footer .footer-company-info {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 12px;
  }

  .site-footer .company-details h4 {
    font-size: 15px;
  }

  .site-footer .company-contact p {
    font-size: 11px;
  }

  .site-footer .footer-legal {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-copyright {
    text-align: center;
  }

  .site-footer .icp-number {
    font-size: 10px;
    margin-top: 3px;
  }

  .site-footer .footer-meta {
    justify-content: center;
    gap: 12px;
  }

  .site-footer .footer-meta a {
    font-size: 11px;
  }

  /* Contact page mobile styles */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-section {
    padding: 20px;
  }

  .contact-form {
    gap: 14px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* Cooperation page mobile styles */
  .cooperation-types {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cooperation-card {
    padding: 16px;
  }

  .advantages {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-item {
    text-align: center;
  }

  .contact-box {
    padding: 20px;
  }

  .contact-details {
    gap: 16px;
  }

  .contact-method {
    text-align: center;
  }

  /* Help page mobile styles */
  .help-section {
    margin-bottom: 24px;
  }

  .faq-item {
    margin-bottom: 16px;
  }

  .support-methods {
    gap: 16px;
  }

  .support-item {
    text-align: center;
  }

  .service-notice p {
    font-size: 14px;
  }

  /* Privacy page mobile styles */
  .policy-section {
    margin-bottom: 24px;
  }

  .policy-section h2 {
    font-size: 18px;
  }

  .policy-section ul {
    padding-left: 20px;
  }

  /* 移动端文章优化 */
  .article {
    margin: 0.75rem auto; /* 移动端减小外边距 */
    padding: 1.25rem; /* 移动端调整内边距 */
    border-radius: 10px; /* 移动端稍微减小圆角 */
    min-height: 10rem; /* 移动端减小最小高度 */
  }

  .article::before {
    height: 4px; /* 移动端减小装饰条高度 */
    border-radius: 10px 10px 0 0;
  }

  .article:hover {
    transform: none; /* 移动端不使用位移效果 */
    box-shadow:
      0 4px 15px rgba(0,0,0,0.08),
      0 2px 6px rgba(0,0,0,0.06);
  }

  .article::after {
    height: 1px; /* 移动端保持相同的装饰线 */
  }

  .article .ad-block {
    margin: 1.25rem 0; /* 20px / 16px = 1.25rem，移除负边距 */
    padding: 0.9375rem; /* 15px / 16px = 0.9375rem */
    background: #f8f9fa;
    border-radius: 0.25rem; /* 4px / 16px = 0.25rem */
    width: 100%;
    box-sizing: border-box;
  }

  .article .ad-container,
  .article .ad-inline {
    margin: 0.9375rem 0; /* 15px / 16px = 0.9375rem */
    padding: 0;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
  }

  .article .ad-top,
  .article .ad-bottom {
    margin: 12px 0;
    padding: 0;
  }

  .policy-date {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Terms page mobile styles */
  .policy-section {
    margin-bottom: 24px;
  }

  .policy-section h2 {
    font-size: 18px;
  }

  .policy-section ul {
    padding-left: 20px;
  }
}

/* 首页产品展示样式 */
.home-products {
  margin: 30px 0;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.products-header h2 {
  margin: 0;
  font-size: 24px;
  color: #2c3e50;
  font-weight: 600;
}

.view-all {
  color: #4285f4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #007bff;
  text-decoration: underline;
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(66, 133, 244, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2c3e50;
  font-weight: 600;
}

.product-content p {
  margin: 0 0 15px;
  color: #6c757d;
  line-height: 1.6;
  font-size: 14px;
}

.product-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

/* 行业应用板块样式 */
.industry-applications {
  background: #f8f9fa;
  padding: 60px 0;
  margin: 40px 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.industry-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(0,0,0,0.15);
}

.industry-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-image img {
  transform: scale(1.05);
}

.industry-content {
  padding: 20px;
}

.industry-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2c3e50;
  font-weight: 600;
}

.industry-content p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
  font-size: 14px;
}

/* 服务与支持板块样式 */
.services-support {
  background: linear-gradient(135deg, #4285f4 0%, #007bff 100%);
  padding: 60px 0;
  color: white;
  margin: 40px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 600;
}

.service-card p {
  margin: 0 0 20px;
  opacity: 0.9;
  line-height: 1.6;
}

.service-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #4285f4;
}

.service-link.disabled {
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  opacity: 0.7;
}

/* 社交链接禁用样式 */
.social-link.disabled {
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
  background: #f8f9fa;
  border-color: #dee2e6;
}

/* 技术特色板块样式 */
.tech-features {
  padding: 60px 0;
  margin: 40px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content h3 {
  margin: 0 0 15px;
  font-size: 24px;
  color: #2c3e50;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  color: #6c757d;
  line-height: 1.6;
  font-size: 16px;
}

/* 新闻资讯板块样式 */
.news-section {
  background: #f8f9fa;
  padding: 60px 0;
  margin: 40px 0;
}

.news-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.news-item.featured {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.news-item.featured .news-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.news-item.featured .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item.featured:hover .news-image img {
  transform: scale(1.05);
}

.news-item.featured .news-content {
  padding: 30px;
}

.news-item.featured h3 {
  margin: 0 0 15px;
  font-size: 24px;
  color: #2c3e50;
  font-weight: 600;
}

.news-item.featured p {
  margin: 0 0 20px;
  color: #6c757d;
  line-height: 1.6;
  font-size: 16px;
}

.news-sidebar .news-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-sidebar .news-item h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #2c3e50;
  font-weight: 600;
}

.news-sidebar .news-item p {
  margin: 0 0 15px;
  color: #6c757d;
  line-height: 1.5;
  font-size: 14px;
}

.news-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #adb5bd;
}

.news-date {
  color: #4285f4;
  font-weight: 500;
}

.news-category {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
}

/* 合作伙伴板块样式 */
.partners-section {
  background: #fff;
  padding: 60px 0;
  margin: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.partner-logo {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* 通用板块样式 */
.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0 0 15px;
  font-size: 32px;
  color: #2c3e50;
  font-weight: 700;
}

.section-header p {
  margin: 0 auto;
  font-size: 18px;
  color: #6c757d;
  max-width: 600px;
  line-height: 1.6;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .home-products {
    padding: 20px;
    margin: 20px 0;
  }

  .products-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .products-header h2 {
    font-size: 20px;
  }

  .products-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-content {
    padding: 16px;
  }

  .product-content h3 {
    font-size: 16px;
  }

  .product-features {
    justify-content: center;
  }

  /* 新增板块移动端样式 */
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .news-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-item.featured {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 16px;
  }

  /* 移动端容器优化 */
  .container {
    padding: 0;
    max-width: calc(100vw - 1.25rem); /* 移动端：屏幕宽度-1.25rem */
    overflow: hidden; /* 防止内容溢出 */
  }
}

/* 信息流样式 - 今日头条风格 */
.category-nav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px;
  gap: 0;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex-shrink: 0;
  padding: 12px 16px;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.nav-item.active {
  color: #ff4757;
  border-bottom-color: #ff4757;
  font-weight: 600;
}

.feed-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 热门资讯轮播 */
.hot-news-carousel {
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.carousel-container {
  position: relative;
}

.carousel-item {
  display: flex;
  min-height: 200px;
}

.carousel-image {
  flex: 0 0 40%;
  overflow: hidden;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.carousel-content p {
  margin: 0 0 16px;
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

.carousel-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

.news-source {
  color: #ff4757;
  font-weight: 500;
}

/* 信息流列表 */
.news-feed {
  margin: 20px 0;
}

.feed-item {
  display: flex;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  flex-direction: row; /* 确保左文右图布局 */
}

.feed-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.feed-content {
  flex: 1;
  padding-right: 16px;
  order: 1; /* 文字内容在左侧 */
}

.feed-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-content p {
  margin: 0 0 12px;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #999;
  align-items: center;
}

.feed-source {
  color: #ff4757;
  font-weight: 500;
}

.feed-views {
  color: #999;
}

.feed-image {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  order: 2; /* 图片在右侧 */
  margin-left: auto; /* 推到右侧 */
}

.feed-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 加载更多按钮 */
.load-more {
  text-align: center;
  margin: 30px 0;
}

.load-more-btn {
  background: #ff4757;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #ff3742;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

/* 加载指示器样式 */
.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: #666;
  font-size: 14px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #ff4757;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 反馈按钮样式 */
.feedback-btn {
  position: fixed;
  right: 20px;
  bottom: 80px;
  background: #ff4757;
  color: #fff;
  padding: 12px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* 暂无内容样式 */
.no-content {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.feedback-btn:hover {
  background: #ff3742;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 71, 87, 0.4);
}

/* 错误信息样式 */
.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.error-message p {
  margin: 0 0 20px;
  font-size: 16px;
}

.error-message button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.error-message button:hover {
  background: #ff3742;
  transform: translateY(-1px);
}

/* 加载状态样式 */
.loading-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.loading-state .loading-spinner {
  margin: 0 auto 20px;
}

/* 移动端信息流样式 */
@media (max-width: 768px) {
  .category-nav {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .nav-item {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .feed-container {
    padding: 0 12px;
  }
  
  .carousel-item {
    flex-direction: column;
    min-height: auto;
  }
  
  .carousel-image {
    flex: none;
    height: 180px;
  }
  
  .carousel-content {
    padding: 16px;
  }
  
  .carousel-content h3 {
    font-size: 18px;
  }
  
  .feed-item {
    flex-direction: row; /* 保持左文右图布局 */
    padding: 12px;
    align-items: flex-start; /* 顶部对齐 */
  }

  .feed-content {
    flex: 1;
    padding-right: 12px;
    margin-bottom: 0; /* 移除底部间距 */
  }

  .feed-content h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .feed-content p {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .feed-image {
    flex: 0 0 80px; /* 缩小图片宽度 */
    height: 60px; /* 缩小图片高度 */
    margin-left: auto; /* 推到右侧 */
    order: 2;
  }

  .feed-meta {
    font-size: 11px;
  }

  /* 超小屏幕优化 */
  @media (max-width: 360px) {
    .feed-item {
      padding: 10px;
    }

    .feed-content {
      padding-right: 8px;
    }

    .feed-content h3 {
      font-size: 14px;
      line-height: 1.3;
    }

    .feed-content p {
      font-size: 12px;
      line-height: 1.4;
      margin-bottom: 6px;
    }

    .feed-image {
      flex: 0 0 70px;
      height: 50px;
    }

    .feed-meta {
      font-size: 10px;
      gap: 6px;
    }
  }
  
  .feed-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .load-more-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

  /* 移动端网格优化 */
  .industry-applications .container,
  .services-support .container,
  .tech-features .container,
  .news-section .container,
  .partners-section .container {
    padding: 0;
    overflow: hidden; /* 防止内容溢出 */
  }

  /* 确保所有容器都没有额外边框 */
  .container,
  .industry-applications .container,
  .services-support .container,
  .tech-features .container,
  .news-section .container,
  .partners-section .container {
    border: none !important;
    box-shadow: none !important;
    max-width: 100vw !important; /* 确保不超过视窗宽度 */
    overflow: hidden !important; /* 防止内容溢出 */
  }

  /* 移动端相关问答和猜你喜欢板块优化 - 更低调的设计 */
  .qa-section,
  .recommend-section {
    margin: 1rem 0;
    padding: 0.75rem 0;
    border-radius: 6px;
    background: #fafbfc;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
  }

  .recommend-section {
    background: #fefcfa;
    border-color: #f5f5f5;
  }

  .qa-section h2,
  .recommend-section h2 {
    font-size: 18px;
    margin-bottom: 0.75rem;
    color: #4a5568;
  }

  .qa-section h2::after,
  .recommend-section h2::after {
    width: 35px;
    height: 2px;
  }

  /* 移动端悬停效果优化 - 非常低调 */
  .qa-section:hover,
  .recommend-section:hover {
    transform: none; /* 移动端不使用位移效果 */
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  }

  .qa-section:hover {
    background: #f7f9fa;
  }

  .recommend-section:hover {
    background: #fdf9f2;
  }

  .qa-section:hover::before,
  .recommend-section:hover::before {
    height: 2px; /* 移动端保持很低调 */
  }

  /* 移动端文字优化 */

  /* 移动端间距优化 */
  .industry-applications,
  .services-support,
  .tech-features,
  .news-section,
  .partners-section {
    padding: 40px 0;
    margin: 30px 0;
  }
}


