.aff-desc-con {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-bottom: 15px;
  width: 620px;
}
.aff-desc-con .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.row .item {
  display: flex;
  align-items: center;
}
.row .last {
  transform: translateX(-3px);
}
.aff-desc-con img {
  width: 32px;
  margin-right: 10px;
}
.aff-desc-con span {
  font-size: 20px;
  color: #fff;
  line-height: 40px;
}
.aff-pic {
  position: absolute;
  right: -100px;
  top: 70px;
}
.aff-layer2 li {
  transition: all 0.2s;
  cursor: pointer;
}
.aff-layer2::after {
  background: #fff!important;
}
.aff-layer2 li:hover {
  transition: all 0.2s;
  transform: translateY(-20px)!important;
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
}
.aff-layer2-h2 {
  font-size: 40px;
  color: #FFF200;
  text-align: center;
  margin-bottom: 50px;
}
.aff-layer3 {
  box-sizing: border-box;
  padding: 112px 240px;
  background-color: #E6F5EB;
}
.aff-layer3 ul {
  margin-top: 40px;
}
.aff-layer3 li {
  list-style-type: disc;
  font-size: 16px;
}
.aff-layer3 li:not(:last-child) {
  margin-bottom: 24px;
}
.program-con {
  display: flex;
  gap: 32px;
  width: 1440px;
  flex-wrap: wrap;
}
.program-con .item {
  position: relative;
  padding: 0 32px;
  box-sizing: border-box;
  width: 704px;
  background: #FFFFFF;
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
  border-radius: 16px;
  padding-bottom: 48px;
}
.item .left-img {
  position: absolute;
  left: 32px;
  top: -50px;
}
.item .right-img {
  position: absolute;
  right: 0;
  top: 0;
}
.item h3 {
  margin-top: 110px;
  font-size: 30px;
  color: #FF5900;
  line-height: 40px;
}
.item h4 {
  font-size: 18px;
  color: #2D2D2D;
  margin-top: 8px;
}
.aff-layer2 ul {
  margin-top: 40px;
}
.aff-layer2 ul li {
  list-style: disc;
  font-size: 16px;
  color: #737373;
  margin-top: 24px;
}
.program-con .second-row {
  margin-top: 46px;
}

.aff-layer4 {
  width: 100%;
  height: 1072px;
  background: #1D0A03 url('../images/affiliate/layer3-bg.webp') no-repeat center center;
  background-size: cover;
  box-sizing: border-box;
  padding: 92px 224px ;
}

.aff-layer4 h2 {
  font-size: 52px;
  color: #FFFB00;
}
.table {
  margin-top: 60px;
  margin-bottom: 52px;
}
.thread {
  width: 1472px;
  height: 100px;
  background: linear-gradient( 180deg, #FDA400 0%, #D56205 100%);
  box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.thread .th {
  font-size: 32px;
  color: #FFFAE2;
  text-shadow: 0px 3px 0px rgba(119,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thread .th1 {
  width: 345px;
}
.thread .th2 {
  width: 523px;
}
.thread .th3 {
  flex: 1;
}
.thread .split-line {
  width: 1px;
  height: 53px;
  background: #FFFAE2;
}
.tbody {
  width: 1440px;
  border-radius: 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 5px solid #FFFB00;
  border-top: 0;
  margin-left: 16px;
  box-sizing: border-box;
  overflow: hidden;
}
.tbody .row {
  display: flex;
}
.tbody .row:not(:last-child) {
  border-bottom: solid 2px #74A22F;
}

.row .col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
  font-size: 24px;
  color: #FFFFFF;
  text-align: center;
}
.row .col1 {
  width: 345px;
  background: #004516;
}
.row .col2 {
  width: 523px;
  background: #052810;
}
.row .col3 {
  flex: 1;
  background: linear-gradient( 90deg, #3A7D38 0%, #063417 100%);
}
.aff-layer4 p {
  font-size: 24px;
  color: #FFFFFF;
  text-align: center;
}
.aff-layer5 {
  position: relative;
  box-sizing: border-box;
  padding-left: 240px;
  padding-top: 80px;
  width: 100%;
  height: 937px;
  background: linear-gradient( 180deg, #73B83C 0%, #018F46 100%);
}
.aff-layer5 .line-con {
  width: 896px;
  height: 129px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
  border-radius: 12px;
  border: 1px solid #FFFFFF;
  box-sizing: border-box;
  padding: 19px 30px;
  font-size: 18px;
  color: #166806;
}
.line-con .line-title {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}
.line-title h3 {
  font-size: 28px;
  color: #FFFFFF;
  line-height: 40px;
}
.line-title .title-desc {
  width: 269px;
  height: 32px;
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
  border: 1px solid #FFFFFF;
  text-align: center;
  line-height: 32px;
  font-size: 18px;
  color: #FFFFFF;
  margin-left: 13px;
}
.aff-layer5 .points-con {
  width: 896px;
  height: 232px;
  background: #FFFFFF;
  box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.1);
  border-radius: 12px;
  border: 1px solid #FFFB00;
  padding: 30px;
  box-sizing: border-box;
  margin: 19px 0;
  font-size: 16px;
  color: #494949;
  line-height: 24px;
}
.points-con .points-title {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}
.points-title h3 {
  font-size: 28px;
  color: #018F46;
  line-height: 40px;
}
.points-title .points-desc {
  width: 269px;
  height: 32px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #FF5900;
  text-align: center;
  line-height: 32px;
  font-size: 18px;
  color: #FF5900;
  margin-left: 13px;
}
.points-con p {
  font-size: 18px;
  color: #2D2D2D;
  margin: 23px 0;
}
.aff-layer5 .aff-img-right {
  position: absolute;
  right: 264px;
  bottom: 0;
}
.layer-5-other {
  width: 100%;
  height: 73px;
  background: #003A1B;
  text-align: center;
  line-height: 73px;
  font-size: 24px;
  color: #FFFFFF;
}
.aff-layer6 {
  width: 100%;
  height: 912px;
  background: #FFFFFF;
  padding: 100px 240px 120px 240px;
  box-sizing: border-box;
}
.aff-layer6 .agency-con {
  display: flex;
  gap: 21px;
}
.agency-item {
  width: 344px;
  height: 515px;
  background: #FFFFFF;
  box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 16px;
  color: #494949;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.2s;
}
.agency-item:hover {
  transform: translateY(-20px);
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
}
.agency-item .agency-title{
  width: 100%;
  height: 99px;
  border-radius: 10px 10px 0px 0px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.agency-item .agency-title h3 {
  font-size: 28px;
  color: #FFFFFF;
  line-height: 40px;
  text-align: center;
}
.agency-item .agency-title h4 {
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 3px;
}
.agency-item .agency-title1 {
  background: linear-gradient( 360deg, #26AB4E 0%, #81CA0B 100%);
}
.agency-item .agency-title2 {
  background: linear-gradient( 360deg, #340AEC 0%, #099EEE 100%);
}
.agency-item .agency-title3 {
  background: linear-gradient( 180deg, #AB00EF 0%, #6C09EE 100%);
}
.agency-item .agency-title4 {
  background: linear-gradient( 180deg, #FF5500 0%, #9B0000 100%);
}
.agent-li {
  margin: 42px 0;
  margin-left: 20px;
}
.aff-layer6 h5 {
  font-size: 18px;
  color: #2D2D2D;
  font-weight: bold;
  padding-left: 20px;
  box-sizing: border-box;
}
.aff-layer6 p {
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 16px;
  color: #494949;
  margin-bottom: 25px;
}
.aff-layer6 button {
  width: 308px;
  height: 62px;
  border-radius: 8px;
  text-align: center;
  line-height: 62px;
  margin-left: 20px;
  outline: none;
  border: none;
  font-size: 24px;
  color: #FFFFFF;
}
.aff-layer6 .btn1 {
  background: linear-gradient( 360deg, #26AB4E 0%, #81CA0B 100%);
}
.aff-layer6 .btn2 {
  background: linear-gradient( 360deg, #340AEC 0%, #099EEE 100%);
}
.aff-layer6 .btn3 {
  background: linear-gradient( 180deg, #AB00EF 0%, #6C09EE 100%);
}

.aff-layer6 .btn4 {
  background: linear-gradient( 180deg, #E43F7C 0%, #E30057 100%), linear-gradient( 180deg, #D72505 0%, #510000 100%), linear-gradient( 180deg, #FF5500 0%, #9B0000 100%);
}
.aff-layer7 {
  width: 100%;
  height: 1033px;
  background: linear-gradient( 180deg, #FFBA09 0%, #F47712 100%);
  box-sizing: border-box;
  padding: 80px 240px 120px 240px;
}
.story-con {
  display: flex;
  flex-wrap: wrap;
  width: 1436px;
  justify-content: space-between;
}
.story-item {
  width: 700px;
  height: 316px;
  background: linear-gradient( 270deg, #FF6B00 0%, #DE2800 100%), #FFFFFF;
  border-radius: 29px;
  border: 4px solid rgba(255,255,255,0.45);
  box-sizing: border-box;
  padding: 42px 32px;
}
.story-item.mg-cls {
  margin-top: 32px;
}
.story-item img {
  width: 88px;
  margin-right: 24px;
}
.story-title {
  display: flex;
  align-items: center;
  margin-bottom: 38px;
}
.story-title .name {
  font-size: 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}
.story-title .pos {
  font-size: 26px;
  color: #730800;
  margin-top: 4px;
}
.story-item p {
  font-size: 20px;
  color: #FFFFFF;
  line-height: 26px;
}
.story-title .name img {
  width: 30px;
  margin-left: 12px;
}
@media(max-width:1000px){
  .aff-pic {
    left: 0;
    right: 0;
    bottom: 20vw;
    top: unset;
  }
  .aff-pic img{
   width: 100vw;
  }
  .aff-layer2 ul {
    margin-top: -40px;
  }
  .layer2Box ul li {
    height: 200px!important;
  }
  .aff-desc-con img {
    width: 16px;
    margin-right: 4px;
  }
  .aff-desc-con {
    width: unset;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: 10px;
  }
  .aff-desc-con span {
    font-size: 12px;
  }
  .banner .bannerBox.page1 .text ul {
    padding-top: 180px;
  }
  .banner .bannerBox .text h1 .other-text{
    display: none;
  }
  .aff-layer-text {
    display: none;
  }
  .aff-layer3 {
    padding: 36px 16px;
  }
  .aff-layer3 .item .left-img {
    width: 76px;
    left: 11px;
    top: -28px;
  }
  .aff-layer3 .item .right-img {
    width: 110px;
  }
  .aff-layer3 .item {
    width: 91.46vw;
    height: auto;
    padding: 0 12px;
    padding-bottom: 24px;
  }
  .item h3 {
    font-size: 15px;
    margin-top: 55px;
    line-height: 20px;
  }
  .item h4 {
    font-size: 12px;
    margin-top: 6px;
  }
  .aff-layer3 li {
    font-size: 12px;
    margin-left: 20px;
  }
  .aff-layer3 li:not(:last-child) {
    margin-bottom: 12px;
  }
  .program-con {
    width: auto;
  }
  .program-con .second-row, .program-con .second-row1{
    margin-top: 10px;
  }
  .aff-layer4 {
    padding: 36px 8px;
    background: #1D0A03 url(../images/affiliate/layer3-bg-m.webp) no-repeat center center;
    background-size: cover;
    height: 820px;
  }
  .aff-layer4 h2 {
    font-size: 26px;
    text-align: center;
  }
  .table {
    margin-top: 24px;
    margin-bottom: 31px;
  }
  .thread {
    width: 96vw;
    height: 50px;
    border-radius: 6px;
  }
  .thread .th {
    font-size: 12px;
    text-shadow: 0px 1px 0px rgba(119, 0, 0, 0.45);
  }
  .thread .th1 {
    width: 22.93vw;
  }
  .thread .th2 {
    width: 36vw;
  }
  .thread .split-line {
    height: 27px;
  }
  .tbody {
    width: 93.5vw;
    margin-left: 4px;
    border: 2px solid #FFFB00;
    border-top: 0;
  }
  .tbody .row:not(:last-child) {
    border-bottom: solid 1px #74A22F;
  }
  .row .col1 {
    width: 22.93vw;
    font-size: 12px;
  }
  .row .col2 {
    width: 36vw;
    font-size: 12px;
  }
  .row .col3 {
    font-size: 12px;
  }
  .aff-layer4 p {
    font-size: 12px;
  }
  .aff-layer5 {
    position: relative;
    box-sizing: border-box;
    padding-left: 17px;
    padding-top: 36px;
    width: 100%;
    height: 1016px;
  }
  .aff-layer5 .line-con {
    width: 91.46vw;
    height: auto;
    border-radius: 6px;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    padding: 14px;
    font-size: 12px;
  }
  .line-title {
    flex-direction: column;
    align-items: flex-start!important;
  }
  .line-title .title-desc {
    margin-top: 6px;
    margin-left: 0;
    font-size: 12px;
    width: 182px;
    height: 26px;
    line-height: 26px;
  }
  .line-title h3 {
    font-size: 18px;
    line-height: 20px;
  }
  .aff-layer5 .points-con {
    width: 91.46vw;
    height: 203px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 14px;
    box-sizing: border-box;
    margin: 10px 0;
    font-size: 12px;
    line-height: 22px;
  }
  .points-con .points-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start!important;
    margin-bottom: 7px;
  }
  .points-title .points-desc {
   width: 182px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    margin-left: 0;
    margin-top: 9px;
  }
  .points-con p {
    font-size: 12px;
    margin: 5px 0;
  }
  .aff-img-right {
    width: 197px;
    height: 344px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .points-title h3 {
    font-size: 18px;
    line-height: 20px;
  }
  .layer-5-other {
    height: 37px;
    line-height: 37px;
    font-size: 12px;
  }
  .aff-layer6 {
    padding: 16px 44px;
  }
  .aff-layer6 .agency-con {
    margin-top: -30px;
    flex-wrap: wrap;
  }
  .agency-item {
    width: 91.46vw;
    height: auto;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 12px;
    line-height: 22px;
    padding-bottom: 16px;
  }
  .agency-item .agency-title {
    height: 49px;
    border-radius: 5px 5px 0px 0px;
  }
  .agency-item .agency-title h4 {
    font-size: 12px;
    margin-bottom: 0;
  }
  .agency-item .agency-title h3 {
    font-size: 18px;
    line-height: 20px;
  }
  .agent-li {
    margin: 10px 0;
    margin-left: 20px;
  }
  .aff-layer6 {
    height: auto;
  }
  .aff-layer6 p {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .aff-layer6 button {
    width: 280px;
    height: 40px;
    border-radius: 4px;
    line-height: 40px;
    margin-left: 14px;
    font-size: 12px;
  }
  .aff-layer7 {
    height: auto;
    padding: 36px 16px;
  }
  .story-con {
    display: flex;
    flex-wrap: wrap;
    width: 91.46vw;
    justify-content: space-between;
    margin-top: -20px;
  }
  .story-item {
    width: 91.46vw;
    height: 158px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    padding: 16px;
  }
  .story-title {
    margin-bottom: 16px;
  }
  .story-item img {
    width: 44px;
    margin-right: 12px;
  }
  .story-title .name {
    font-size: 20px;
  }
  .story-title .pos {
    font-size: 13px;
    margin-top: 2px;
  }
  .story-title .name img {
    width: 15px;
    margin-left: 6px;
  }
  .story-item p {
    font-size: 12.8px;
    color: #FFFFFF;
    line-height: 13px;
  }
  .story-item.mg-cls, .story-item.mg-cls1{
    margin-top: 12px;
  }
}
