:root {
  --button-radius: 8px;     
  /* 补充主色变量（你可根据实际需求修改） */
  --color-primary: #aec371;
}

.rightint-agent {
  padding: 70px 0;
  width: 100% !important;
  aspect-ratio: 1920 / 400 !important;
  height: auto !important;
  background-size: cover !important; 
  background-position: center center !important; 
  background-repeat: no-repeat !important;
  overflow: hidden !important; 
  position: relative; /* 作为按钮绝对定位的参考容器 */
}

.rightint-agent .container {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-start; /* 仅靠左对齐文本 */
  justify-content: flex-start;
  -webkit-align-items: center;
  align-items: center;
  width: 95%;
  max-width: 1920px;
  margin: 0 auto;
  height: 100%; 
}

.rightint-agent .txt {
  width: 50%;
  padding-right: 20px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0);
  padding: 15px;
  border-radius: 4px;
}

.rightint-agent .txt h3 {
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  color: #3b3535;
  font-weight: 600;
  margin: 0;
}

.rightint-agent .txt .t {
  margin: 20px 0 0;
  font-size: 20px;
  color: #333;
  line-height: 30px;
}

.rightint-agent .txt .t p ~ p {
  margin-top: 15px;
}

/* 核心修改：按钮区改为绝对定位到右下角 */
.rightint-agent .more {
  position: absolute;
  right: 2.5%; /* 与container的95%宽度对应，保持边距一致 */
  bottom: 30px; /* 距离底部的距离，可按需调整 */
  width: auto; /* 取消50%宽度限制 */
  text-align: right;
  padding-left: 0; /* 清空原有内边距 */
  box-sizing: border-box;
  z-index: 10; /* 确保按钮在最上层 */
}

.rightint-agent .more a {
  width: 210px;
  height: 65px;
  line-height: 65px;
  display: inline-block;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  font-size: 18px;
  color: #fff;
  font-weight: 300;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.rightint-agent .more a:hover {
  background: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

/* 移动端适配调整 */
@media screen and (max-width: 768px) {
  .rightint-agent {
    padding: 30px 0;
    aspect-ratio: 1920 / 400 !important; 
    background-size: cover !important;
  }

  .rightint-agent .container {
    display: block;
    height: auto;
    padding: 20px 0;
  }

  .rightint-agent .txt {
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0);
  }

  .rightint-agent .txt h3 {
    text-align: center;
    font-size: 30px;
  }

  .rightint-agent .txt .t {
    font-size: 17px;
    line-height: 24px;
  }

  /* 移动端按钮调整为底部居中 */
  .rightint-agent .more {
    position: absolute;
    right: 50%; /* 水平居中 */
    transform: translateX(50%); /* 修正居中偏移 */
    bottom: 20px; /* 移动端减少底部距离 */
    width: auto;
    text-align: center;
    margin-top: 0; /* 清空原有margin */
    padding-left: 0;
  }

  .rightint-agent .more a {
    width: 170px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .rightint-agent .txt h3 {
    font-size: 22px;
  }
  .rightint-agent .txt .t {
    font-size: 15px;
    line-height: 22px;
  }

  /* 小屏手机按钮进一步适配 */
  .rightint-agent .more {
    bottom: 15px;
  }
  .rightint-agent .more a {
    width: 150px;
    height: 38px;
    line-height: 38px;
    font-size: 15px;
  }
}