/* =================== 新闻内容页独立样式（newscontent.css） =================== */

/* 全局字体与背景 */
body {
  font-family: "Inter", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
  color: #1a1a1a;
  line-height: 1.7;
}

/* 主体容器 */
.main.mhtech-wrapper {
  padding: 50px 0 50px;
}

/* 布局结构：左宽右窄 */
.page_cont.art_cont.clearfix {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1px;
}
.page_cont.art_cont.clearfix .fl { width: 72%; }
.page_cont.art_cont.clearfix .fr { width: 26%; }

/* 左侧文章卡片 */
.mhtech-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 60, 150, 0.08);
  border: 1px solid rgba(0, 86, 179, 0.1);
  padding: 50px 60px;
  transition: box-shadow 0.3s ease;
}
.mhtech-article:hover {
  box-shadow: 0 15px 45px rgba(0, 86, 179, 0.15);
}

/* 文章标题 */
.mhtech-title {
  text-align: center;
  margin-bottom: 30px;
}
.mhtech-title h3 {
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}
.mhtech-title span {
  display: block;
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}
.mhtech-title::after {
  content: "";
  display: block;
  width: 95%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,119,255,0.1), rgba(0,119,255,0.6), rgba(0,119,255,0.1));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* 正文内容 */
.mhtech-content {
  font-size: 16px;
  color: #333;
}
.mhtech-content p {
  margin-bottom: 1em;
}

/* 上下篇导航 */
.mhtech-navi {
  border-top: 1px solid #e5e8ee;
  margin-top: 50px;
  padding-top: 25px;
  font-size: 14px;
  color: #555;
  text-align: center;
}
.mhtech-navi a {
  color: #0077ff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.mhtech-navi a:hover {
  color: #0050d8;
  text-decoration: underline;
}

/* 右侧最新文章 */
.mhtech-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.08);
  border: 1px solid rgba(0, 86, 179, 0.08);
  padding: 24px 28px 30px;
  transition: box-shadow 0.3s ease;
  position: relative;
}
.mhtech-sidebar:hover {
  box-shadow: 0 12px 35px rgba(0, 86, 179, 0.12);
}
.mhtech-sidebar h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0b2345;
  border-left: 4px solid #0077ff;
  padding-left: 10px;
  margin-bottom: 18px;
}

/* 最新文章列表 */
.mhtech-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mhtech-side-list li {
  border-bottom: 1px dashed #e6eaf2;
  padding: 10px 0;
}
.mhtech-side-list li:last-child { border-bottom: none; }
.mhtech-side-list a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  display: block;
  transition: all 0.3s ease;
  word-break: break-word;
}
.mhtech-side-list a:hover {
  color: #0077ff;
  transform: translateX(4px);
}

/* 响应式布局 */
@media (max-width: 992px) {
  .page_cont.art_cont.clearfix {
    flex-direction: column;
    gap: 0;
  }
  .page_cont.art_cont.clearfix .fl,
  .page_cont.art_cont.clearfix .fr {
    width: 100%;
  }
  .mhtech-article, .mhtech-sidebar {
    max-width: 100%;
    padding: 15px 22px;
    margin: 0 auto;
  }
  .mhtech-sidebar {
    margin-top: 40px;
  }
}

/* =================== Banner 样式（与短视频陪跑页一致） =================== */
.mhx-bannerx {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #000;
}
.mhx-bannerx-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65);
  z-index: 1;
}
.mhx-bannerx-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 900px;
}
.mhx-bannerx-title {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.mhx-bannerx-subtitle {
  font-size: clamp(15px, 1.8vw, 20px);
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 移动端 Banner */
@media (max-width: 768px) {
  .mhx-bannerx { height: 480px; }
  .mhx-bannerx-title { font-size: 26px; }
  .mhx-bannerx-subtitle { font-size: 14px; }
}
/* 解决移动端文章图片飞出去的问题 */
.mhtech-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
}
