html {
  height: 100%;
}

body {
  background: url(../images/bg.webp) no-repeat center 0;
  background-size: 100% auto;
  /* background-size: cover; */
  height: 100%;
  width: 100%;
}

/* 版心居中 */
.wrapper {
  margin: 0 auto;
  width: 90%;
}

/* banner start */

.banner .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  margin-top: clamp(80px, 10vw, 200px);
  color: #263346;
}

.banner p {
  /* 为了让字体居中 */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 0 clamp(0px, 0.78vw, 15px);
  height: clamp(16px, 2vw, 30px);
  /* 背景模糊 */
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(180, 170, 220, 0.6);
  border-radius: 50px;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 700;
}

@font-face {
  font-family: cusfont;
  /* 重点：这里写啥，后面就用啥 */
  src: url(../font/庞门正道标题体3.0.ttf);
}

.banner h1 {
  font-size: clamp(36px, 5vw, 88px);
  margin-top: clamp(10px, 3vw, 40px);
  font-family: "cusfont";
  font-weight: 500;
  background: linear-gradient(#141e30, #284f7a);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 2px 6px rgba(17, 2, 59, 0.06);
  background-clip: text;
}

.banner span {
  font-size: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(4px, 0.6vw, 8px);
  font-weight: 600;
}

/* .banner .search {
  display: flex;
  margin-top: clamp(20px, 3vw, 50px);
  background-color: #fff;
  border-radius: 12px;
  height: 40px;
  width: 600px;
  align-items: center;
  box-shadow:
    0 0 0 1px rgba(14, 9, 72, 0.08),
    0 4px 12px rgba(18, 7, 143, 0.08);
}

.banner .search a {
  font-size: 24px;
  margin-left: 10px;
}

.banner .search input {
  flex: 1;
  margin-right: 10px;
  padding-left: 15px;
  border: 0;
  outline: none;
  font-size: 15px;
} */

/* banner end */

/* service start */

.services .wrapper {
  width: 80%;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
  margin-top: clamp(0px, 35.6vw, 550px);
  padding-top: 32px;
}

/* 平台动态 */
.services .site-news {
  height: 50px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(17, 2, 59, 0.07);
  padding: 0 16px;
  margin: 20px auto;
  /* 上下间距 */
  box-sizing: border-box;
  font-size: 14px;
}

.services .site-news p {
  padding: 5px 10px;
  background: linear-gradient(45deg, #b9cdff, #c9b6ff, #efb8ff, #ffd2b1);
  color: #8771ce;
  border-radius: 5px;
  white-space: nowrap;
  border: 1px solid #f5d4ff;
}

.services .site-news .news-scr {
  flex: 1;
  margin-left: 12px;
}

img {
  width: 45px;
  height: 45px;
}

.title {
  display: flex;
  justify-content: space-between;
  margin: 0 50px 20px 50px;
  border-left: 4px solid #288463;
}

.title .t1 {
  padding-left: 20px;
  font-size: 26px;
}

.services .s-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 40px auto;
}

.services .s-list .s-list1,
.s-list2,
.s-list3,
.site-news {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.services .s-list .s-list1,
.s-list2,
.s-list3 {
  flex: 1;
}

.services .s-list .s-list1 h3,
.s-list2 h3,
.s-list3 h3 {
  font-size: 24px;
  font-weight: 600;
  padding-top: 30px;
}

.services .s-list .s-list1 p,
.s-list2 p,
.s-list3 p {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.services .s-list .s-list1 a,
.s-list2 a,
.s-list3 a {
  font-size: 16px;
}

.services .s-list .s-list1 div,
.s-list2 div,
.s-list3 div {
  background-color: #fff;
  width: 350px;
  height: 170px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  margin: 10px 10px;
  padding-left: 20px;
}

/* services 颜色渐变及背景图 */
.services .s-list .s-list1 .s1 {
  background: linear-gradient(30deg, #ffffff 60%, #fd8888);
  flex: 1;
}

.services .s-list .s-list1 .s2 {
  background: linear-gradient(30deg, #ffffff 60%, #fdf588);
  flex: 1;
}

.services .s-list .s-list1 .s3 {
  background: linear-gradient(30deg, #ffffff 60%, #a1fd88);
  flex: 1;
}

.services .s-list .s-list2 .s4 {
  background: linear-gradient(30deg, #ffffff 60%, #fdaf88);
  flex: 1;
}

.services .s-list .s-list2 .s5 {
  background: linear-gradient(30deg, #ffffff 60%, #888afd);
  flex: 1;
}

.services .s-list .s-list2 .s6 {
  background: linear-gradient(30deg, #ffffff 60%, #88bdfd);
  flex: 1;
}

.services .s-list .s-list3 .s7 {
  background: linear-gradient(30deg, #ffffff 60%, #88e7ed);
  flex: 1;
}

.services .s-list .s-list3 .s8 {
  background: linear-gradient(30deg, #ffffff 60%, #d888fd);
  flex: 1;
}

.services .s-list .s-list3 .s9 {
  background: linear-gradient(30deg, #ffffff 60%, #fd88b7);
  flex: 1;
}

/* service end */

/* recommend start */

/* 活动中心 合并 */
.bt {
  background-color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 10px;
  margin-right: 110px;
}

.recommend .wrapper {
  width: 80%;
  /* padding-top: 55px; */
}

/* 标题 */
.recommend .title .t2 {
  color: #686c71;
  font-size: 14px;
  margin-right: 130px;
}

/* 推荐列表  */
.recommend .re-list {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  width: 80%;
}

.recommend .re-list .r1,
.r2,
.r3,
.r4 {
  background-color: #fff;
  border-radius: 10px;
  margin: 10px;
  padding: 15px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  width: 25%;
  line-clamp: 2;
  box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend .re-list .r1 img,
.r2 img,
.r3 img,
.r4 img {
  width: 100%;
  border-radius: 10px;
  margin-top: 3px;
}

.recommend .re-list .r1 h3,
.r2 h3,
.r3 h3,
.r4 h3 {
  font-size: 20px;
  margin: 15px 0;
}

.recommend .re-list p {
  color: #666666;
  font-size: 16px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  color: #686c71;
  font-size: 14px;
}

/* recommend end */

/* content start */

.content .wrapper {
  width: 80%;
}

.content .c-list {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  width: 80%;
}

.content .c-list .c1,
.c2,
.c3,
.c4 {
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 10px;
  width: 20%;
}

.content .c-list .c1 img,
.c2 img,
.c3 img,
.c4 img {
  width: 100%;
  border-radius: 10px;
}

.content .c-list .c1 p,
.c2 p,
.c3 p,
.c4 p {
  color: #288463;
  font-weight: 600;
  margin: 10px 0;
}

.content .c-list .c1 h3,
.c2 h3,
.c3 h3,
.c4 h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content .c-list .meta {
  display: flex;
  justify-content: space-between;
}

/* content end */

/* active start */

.active .wrapper {
  width: 80%;
}

/* 1. 父容器：取消固定高度，用 align-items 对齐 */
.active .act-list {
  width: 80%;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  /* 让所有列高度自动一致 */
  /* 移除固定 height 和 overflow: hidden */
}

/* 2. 列容器：必须用 flex + flex-direction: column */
.active .act-list .al {
  display: flex;
  flex-direction: column;
}

.active .act-list .al {
  flex: 1.5;
}

/* 4. 关键：所有卡片容器必须设置  */
.active .a_1 {
  margin: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  /* 控制图片比例，保证不设高度也能正常显示 */
  aspect-ratio: 1.1 / 1;
  /* 正方形卡片，可改成 4/3、16/9 */
  background:
    linear-gradient(to top,
      /* 方向：从下往上渐变 */
      rgba(5, 7, 60, 0.5),
      /* 底部深色 */
      rgba(0, 0, 0, 0)
      /* 顶部透明 */
    );
  border-radius: 10px;
  overflow: hidden;
  /* 超出隐藏，防止内容撑破 */
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

/* 5. 文字贴底 + 左下间隙 */
.active .act-list p {
  margin: auto 0 15px 15px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.active .act-list p {
  margin: auto 0 20px 20px;
}

/* active end */

/* 留言板 start  */

.message {
  background: url(../images/mbg.png) no-repeat center / cover;
  padding: 20px 20px;
}

.message .m-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.message .m-card h3 {
  font-weight: bold;
  font-size: 30px;
  color: #05073c;
}

.message .m-card img {
  margin: 94px 0;
}

.message .m-card .m-tag {
  font-weight: 500;
  font-size: 20px;
  color: #288463;
}

.message .m-card .m-content {
  font-size: 20px;
  font-weight: 600;
  color: #05073c;
  width: 500px;
  text-align: center;
  line-height: 1.8;
  margin: 25px 0;
}

.message .m-card .author {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.8;
  font-size: 16px;
}

.message .m-card .author .name {
  color: #05073c;
  font-weight: 600;
}

.message .m-card .author .role {
  font-size: 15px;
  color: #818498;
}

.message .m-indicator {
  font-size: 20px;
  text-align: center;
  margin-top: 50px;
}

/* 留言板 end  */

/* 公司介绍 start  */

.company-intro .wrapper {
  width: 80%;
}

.company-intro .wrapper .wrap {
  width: 80%;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
}

.company-intro .wrap img {
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  flex: 1;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
}

.company-intro .wrap .c-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 2;
  margin-left: 80px;
}

.company-intro .c-card .hi {
  font-size: 20px;
  color: #818498;
}

.company-intro .c-card .hi-slogan {
  font-weight: 600;
  font-size: 32px;
  color: #288463;
  margin-top: 6px;
}

.company-intro .c-card .hi-content {
  font-size: 18px;
  line-height: 1.6;
  margin: 40px 0;
}

.company-intro .c-card .hi-item {
  display: flex;
  justify-content: space-between;
}

.company-intro .c-card .hi-item .number {
  color: #288463;
  font-weight: bold;
  font-size: 32px;
}

.company-intro .c-card .hi-item .desc {
  font-size: 16px;
  color: #818498;
  margin-top: 6px;
}

/* 公司介绍 end  */