@charset "utf-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* 建议全局加上这个，防止 padding 撑破布局 */
}
body {
  font-size: 12px;
  font-family: Microsoft YaHei, Arial, sans-serif;
}
img {
  border: none;
  max-width: 100%; /* 防止图片溢出 */
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
table, th, tr, td {
  border-collapse: collapse;
  border-spacing: 0;
  border: none;
}
input, select, textarea, map, area {
  outline: none;
  border: none;
  background: none;
  resize: none;
}
/* 清浮动 */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clearfix {
  zoom: 1;
}
.fl { float: left; }
.fr { float: right; }

body, html {
  height: 100%;
  width: 100%;
}
.inner {
  margin: 0 auto;
  width: 1200px;
}
.container {
  min-width: 1250px;
}
.container .header {
  width: 1200px;
  margin: 0 auto;
  height: 350px;
  background: url(../images/banner.jpg) no-repeat top center;
}

/* ========== 核心布局修复 ========== */
.container .cont .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* 【关键修复1】：允许子元素换行 */
  padding: 20px 30px 0;
}

/* 标题样式及清除浮动 */
.container .cont .item_title {
  height: 38px;
  line-height: 38px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 15px;
  overflow: hidden; /* 【关键修复2】：清除 h3 浮动带来的影响 */
  width: 100%;
}
.container .cont h3 {
  font-size: 18px;
  font-weight: bold;
  color: #f91214;
  line-height: 38px;
  float: left;
  border-bottom: 2px solid #f91214;
}

/* 左右两栏固定宽度 */
.container .cont .left_container {
  width: 772px;
}
.container .cont .right_container {
  width: 326px;
}

/* 文章列表样式 */
.container .cont .article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 97px;
  margin-bottom: 16px;
}
.container .cont .article-title {
  font-size: 18px;
  line-height: 25px;
  color: #0f0707;
  text-align: justify;
  flex: 1; /* 让标题自适应剩余宽度，防止挤压图片 */
}
.container .cont .article-thumb {
  margin-left: 38px;
  width: 149px;
  height: 89px;
  flex-shrink: 0; /* 防止图片被压缩 */
}
.container .cont .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保证图片比例不变形 */
}
.container .cont .article-meta {
  font-size: 14px;
  color: #999;
  line-height: 38px;
}
.container .cont .load-more {
  margin-top: 24px;
  width: 100%;
  height: 40px;
  background-color: #f5f5f5;
  line-height: 40px;
  text-align: center;
  color: #0e0808;
  font-size: 16px;
  cursor: pointer;
}

/* 右侧精彩瞬间 */
.container .cont .moment-card {
  margin-bottom: 10px;
}
.container .cont .moment-img {
  width: 325px;
  /*height: 194px;*/
}
.container .cont .moment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.container .cont .moment-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  font-size: 18px;
  color: #0f0707;
  line-height: 36px;
}

/* ========== 横向图片区域修复 ========== */
.container .cont .banner-container {
  width: 100%; /* 【关键修复3】：强制占据整行宽度 */
  margin-top: 30px;
  margin-bottom: 20px;
}
.container .cont .image-row {
  display: flex;
  /*justify-content: space-between;*/
  flex-wrap: wrap;
  width: 100%;
  margin-top: 50px;
}
.container .cont .image-item {
  /*width: 270px; */
  width: 144px; 
  /*height: 170px; */
  overflow: hidden;
  margin-bottom: 20px;
  margin-right: 20px;
}

.container .cont .image-item:nth-child(7n){
  margin-right: 0;
}

.container .cont .image-item img {
  width: 100%;
  height: 100%;
  display: block; 
  object-fit: cover;
}