@charset "utf-8";
/* CSS Document */
#newsBoxes {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
#newsBoxes .newsBox {
  width: 30%;
  margin: 5px 0.5%;
  min-width: 275px;
  max-height: 100px;
  border: 2px solid #444; /* 设置边框样式为白色实线 */
  border-radius: 10px; /* 圆角边框 */
  padding: 10px; /* 内边距 */
  box-shadow: 0 0 10px rgba(200, 200, 200, 0.5); /* 添加阴影效果 */
}
#newsBoxes .newsBox > a {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
@keyframes scaleUp {
  from {
    transform: scale(1); /* 初始大小 */
  }
  to {
    transform: scale(1.05); /* 缩放到 1.05 倍 */
  }
}
#newsBoxes .newsBox:hover {
  animation: scaleUp 1s linear forwards;
}
#newsBoxes .newsBox .newsImg {
  width: 40%;
}
#newsBoxes .newsBox .intro {
  width: calc(100% - 120px);
}
#newsBoxes .newsBox a img {
  width: 100px;
  height: 100%;
}
#newsBoxes .newsBox a p {
  width: 100%;
  white-space: nowrap; /* 溢出时不换行 */
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}
/* 第一个 <p> 元素 */
.newsBox a p:first-child {
  font-size: 16px;
  color: #999999; /* 深灰色 */
  text-align: center;
  box-shadow: rgb(255, 255, 255) 5px 5px 15px 5px;
  text-shadow: 2px 2px 4px rgba(255, 222, 0, 0.8);
  border-radius: 5px;
}
/* 第二个 <p> 元素 */
.newsBox a p:nth-child(2) {
  font-size: 18px;
  font-weight: bold;
   text-align: center;
  color: #ffffff; /* 白色 */
  text-shadow: 2px 2px 4px rgba(255, 222, 0, 0.8);
  border-radius: 5px;
}
/* 第三个 <p> 元素 */
.newsBox a p:nth-child(3) {
  /* 样式设置 */
}
/* 第四个 <p> 元素 */
.newsBox a p:nth-child(4) {
  font-size: 14px;
  color: #cccccc; /* 浅灰色 */
}
.xinwen {
  width: 100%;
}
.xinwen img {
  width: 90%;
  position: relative;
  left: 5%;
  border-radius: 10px;
}
.xinwen h4 {
  text-align: right;
  color: #bbb;
  border-bottom: dashed 2px #ccc;
  margin-bottom: 20px;
}
.xinwen p {
  text-indent: 2em;
  line-height: 2em;
  padding-left: 5%;
  padding-right: 5%;
  letter-spacing: 0.1em;
}
.xinwen >div{
	display: flex;
	flex-direction: row;
	width: 90%;
	
}
.xinwen >div >img{
	width: 30%;
	flex-grow: 1; /* 让图片撑开容器的宽度 */
}
