.rightint-agent {
  padding: 230px 20px 15px;
  height: 500px;
  position: relative;
  top: -54px;
}

.rightint-agent .container {
  display: -webkit-flex;
  height: 240px;
  display: flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: center;
  flex-wrap: wrap;
  align-items: flex-end;
}

.rightint-agent .txt {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}

.rightint-agent .txt h3 {
  font-size: 24px;
  line-height: 1;
  /* text-transform: uppercase; */
  color: #ad2e2a;
  font-weight: 600;
}

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

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

.rightint-agent .more {
  width: 50%;
  border-bottom: 1px solid #ad2e2a;
  text-align: right;
  transition: all 0.3s ease;
}

.rightint-agent .more a {
  /* width: 185px; */
  /* height: 65px; */
  line-height: 35px;
  display: inline-block;
  background: #ad2e2a;
  border-radius: var(--button-radius);
  font-size: 18px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 3px 15px;
  transition: all 0.3s ease;
  border: 1px solid #ad2e2a;
}

.rightint-agent .more a:hover {
  background: #1a305e;
  color: #ffffff;
  border: 1px solid #1a305e;
}

.rightint-agent .more:has(a:hover){
  border-color: #1a305e;
}

@media screen and (max-width: 1300px) {
  .rightint-agent {
    padding: 230px 20px 15px;
    height: 500px;
    position: relative;
    top: -0px;
  }
}

@media screen and (max-width: 768px) {
  .rightint-agent .txt h3 {
    text-align: center;
    font-size: 30px;
  }

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

  .rightint-agent .container {
    height: 100%;
  }

  .rightint-agent .txt {
    width: 100%;
    gap: 8px;
  }

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

  .rightint-agent .more {
    width: 100%;
    text-align: center;
    margin-top: auto;
  }

  .rightint-agent .more a {
    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 h2{
    font-size: 24px !important;
  }
  .rightint-agent .more{
    border:none !important;
  }
}