.sec-text + .sec-card::after,
.sec-icon-block + .sec-card::after{
  position: absolute;
  content: "";
  width: 35.2rem;
  height: 35.2rem;
  top: -31.2rem;
  right: 4.8rem;
  background: url(../images/pattern-03.png);
  background-size: cover;
  background-position: center;
}
.sec-card .row{
  --bs-gutter-x: 6.4rem;
}
.sec-card .d-flex:nth-child(n + 4){
  margin-top: 6.4rem;
}
.sec-card .tab-info{
  margin-bottom: -6.4rem;
}
.sec-card .tab-info .d-flex{
  margin-top: 0 !important;
  margin-bottom: 6.4rem;
}
.card-item{
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(39,46,44,0.1);
  padding-bottom: 6.4rem;
}
.card-item::after{
  position: absolute;
  content: "";
  left: 0;
  bottom: -1px;
  width: 0;
  height: 0.4rem;
  background: var(--green);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.card-item:hover::after{
  width: 100%;
}
.card-img{
  margin-bottom: 4rem;
}
.card-img img{
  width: 100%;
  height: 28.4rem;
  object-fit: cover;
  border-radius: 1.2rem;
}
.card-info .h4{
  margin-bottom: 2.4rem;
  max-height: 6.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2; 
  -webkit-box-orient: vertical;
}
.card-item:hover .h4{
  text-decoration: underline;
}
.card-info p{
  line-height: 2.8rem;
  max-height: 5.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2; 
  -webkit-box-orient: vertical;
}
@media(min-width:1560px) and (max-width:1579.98px){
  .card-img img {
    height: 27.4rem;
  }
}
@media(min-width:1460px) and (max-width:1559.98px){
  .sec-card .row {
    --bs-gutter-x: 5rem;
  }
  .card-item {
    padding-bottom: 5.6rem;
  }
  .card-img {
    margin-bottom: 3.2rem;
  } 
  .card-img img {
    height: 26rem;
  }
  .card-info .h4 {
    margin-bottom: 2rem;
    max-height: 6rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .sec-card .row {
    --bs-gutter-x: 4rem;
  }
  .card-item {
    padding-bottom: 5.6rem;
  }
  .card-img {
    margin-bottom: 3.2rem;
  }
  .card-img img {
    height: 24.3rem;
  }
  .card-info .h4 {
    margin-bottom: 2rem;
    max-height: 6rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .sec-card .row {
    --bs-gutter-x: 3.6rem;
  }
  .card-item {
    padding-bottom: 4.8rem;
  }
  .card-img {
    margin-bottom: 2.8rem;
  }
  .card-img img {
    height: 21.8rem;
  }
  .card-info .h4 {
    margin-bottom: 2rem;
    max-height: 5.6rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .sec-card .title {
    margin-bottom: 5.6rem;
  }
  .sec-card .row {
    --bs-gutter-x: 2.4rem;
  }
  .card-item {
    padding-bottom: 4.8rem;
  }
  .card-img {
    margin-bottom: 2.4rem;
  }
  .card-img img {
    height: 18rem;
  }
  .card-info .h4 {
    margin-bottom: 2rem;
    max-height: 5.2rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-card .title {
    margin-bottom: 4rem;
  }
  .sec-card .row {
    --bs-gutter-x: 2.4rem;
  }
  .sec-card .d-flex:nth-child(n + 3){
    margin-top: 4rem;
  }
  .sec-card .tab-info{
    margin-bottom: -4rem;
  }
  .sec-card .tab-info .d-flex{
    margin-bottom: 4rem;
  }
  .card-item {
    padding-bottom: 4rem;
  }
  .card-img {
    margin-bottom: 2.4rem;
  }
  .card-img img {
    height: 20.4rem;
    border-radius: 1rem;
  }
  .card-info .h4 {
    margin-bottom: 1.6rem;
    max-height: 5.6rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
}
@media(max-width:767.98px){
  .sec-text + .sec-card::after, 
  .sec-icon-block + .sec-card::after{
    content: none;
  }
  .sec-card .title {
    margin-bottom: 3.2rem;
  }
  .sec-card .row{
  --bs-gutter-x: 1.5rem;
  }
  .sec-card .d-flex:nth-child(n + 2){
    margin-top: 3.2rem;
  }
  .sec-card .tab-info{
    margin-bottom: -3.2rem;
  }
  .sec-card .tab-info .d-flex{
    margin-bottom: 3.2rem;
  }
  .card-item {
    padding-bottom: 4rem;
  }
  .card-img {
    margin-bottom: 2.4rem;
  }
  .card-img img {
    height: 31.2rem;
  }
  .card-info .h4 {
    margin-bottom: 1.6rem;
    max-height: 6rem;
  }
  .card-info p {
    line-height: 2.6rem;
    max-height: 5.2rem;
  }
  .card-info br{
    display: none;
  }
}
@media(max-width:575.98px){
  .card-img img {
    height: 56.3vw;
  }
}