.rightint-agent {
  padding: 70px 0;
}

.rightint-agent .container {
  display: flex;
  flex-direction: column; /* 纵向排列 */
  align-items: flex-start; /* 左对齐 */
  text-align: left;
}

.rightint-agent .txt {
  width: 60%; /* 设置标题和文本统一宽度，可根据需要调整 */
  min-width: 300px; /* 防止在超小屏幕过窄 */
}

.rightint-agent .txt h3 {
  font-size: 40px;
  line-height: 1;
  /* text-transform: uppercase; */
  color: #000;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.rightint-agent .more {
  margin-top: 25px;
}

.rightint-agent .more a {
  display: inline-block;
  width: auto; /* 自适应按钮宽度 */
  padding: 0 30px; /* 左右内边距，保证按钮大小 */
  height: 65px;
  line-height: 65px;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  font-size: 18px;
  color: #fff;
  font-weight: 300;
  text-align: center; /* 按钮文字居中 */
}

/* 悬停效果 */
.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;
  }

  .rightint-agent .txt {
    width: 100%; /* 移动端占满全宽 */
  }

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

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

  .rightint-agent .more a {
    width: auto;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    padding: 0 20px;
  }
}

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