/* 一般不要改动这个文件内的样式，可以通过其他样式来覆盖 */

/* 左图右字，或者左字右图布局封装类 */

/* 基础容器 */
.media-box {
  --image-width: 200px;    /* 图片区域宽度 */
  --image-spacing: 20px;   /* 图文间距 */
  display: flex;
  gap: var(--image-spacing);
  align-items: flex-start; /* 顶部对齐 */
  margin-bottom: 20px;     /* 组件间距 */
  align-items: center;
  margin: 0 auto;
}

/* 图片容器 */
.media-box__image {
  margin-right: 120px;
}

/* 图片自适应 */
.media-box__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;       /* 控制图片裁剪方式 */
}

/* 内容区域 */
.media-box__content {
  flex: 1;
  min-width: 0;            /* 修复 flex 内容溢出问题 */
}

/* 反转布局 */
.media-box.reverse {
  flex-direction: row-reverse;
}

/**封装一些标题，副标题，多图遍历展示*/
/* 主标题 */
.main-heading{
  color: #1d2129;
  text-align: center;
  font-family: "OPPOSans";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
}

/* 副标题、或者一些解释说明性文字 */
.sub-heading{
  color: #4e5969;
  text-align: center;
  font-family: "OPPOSans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  margin-top: 12px;
}

/**多item展示*/
.item-list{
  display: flex;
}


/**图文展示*/
.img-text-box{
  width: 1200px;
}

.img-text-list{
  display: flex;
  justify-content: space-between;
}

.img-text-item{
  width: calc(25% - 56px);
  padding: 16px;
}

.img-text-item-img{
  
}

.img-text-item-img>img{
  width: 80px;
  height: 80px;
}

.img-text-item-title{
  align-self: stretch;
  color: #1d2129;
  font-family: "OPPOSans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  margin: 16px 0;
}

.img-text-item-font{
  color: #4e5969;
  font-family: "OPPOSans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/***/
.ladder-shape{
  width: 1200px;
  margin: 0 auto;
}

.ladder-shape-list{}

.ladder-shape-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}

.ladder-shape-img{
  width: 432px;
  aspect-ratio: 432/360;
}

.ladder-shape-info{
  width: 568px;
}

.ladder-shape-title{
  background-image: url(../images/cpfa-title.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 278px;
  height: 54px;
  line-height: 54px;

  color: #1d2129;
  font-family: "OPPOSans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  position: relative;
}

.ladder-shape-title::before{
  content: '  ';
  width: 80px;
  height: 4px;
  background-color: #1BD1BB;

  position: absolute;
  bottom: -14px;
}

.ladder-shape-text{
  align-self: stretch;
  color: #4e5969;
  font-family: "OPPOSans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  margin-top: 44px;
}


 /* 768以下 */
 @media (max-width: 768px) {
  .media-box{
    width: 100%;
    flex-direction: column;
  }
  .media-box__content{
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .main-heading {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
  }

  .sub-heading{
    font-size: 14px;
    font-weight: 500;
  }

  .img-text-box {
    width: calc(100% - 24px);
    margin: 0 auto;
  }


  .img-text-list {
      flex-direction: column;
  }

  .img-text-item {
    width: calc(100% - 48px);
    margin: 0 auto;
  }


  .ladder-shape {
    width: calc(100% - 48px);
    margin: 0 auto;
  }

  .ladder-shape-item {
      flex-direction: column;
  }

  .ladder-shape-item:nth-child(2n)>.ladder-shape-info {
    order: 2;
  }

  .ladder-shape-item:nth-child(2n)>.ladder-shape-img {
    order: 1;
  }

  .ladder-shape-info {
      width: 100%;
  }


}