.sec-text-image:has(+ .bg-blue,+ .bg-green,+ .bg-light-blue){
  margin-bottom: 0;
}
.sec-text-image .title{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.sec-text-image:not(:has(.text-image)) .title{
  margin-bottom: 0;
}
.text-image-outer{
  position: relative;
}
.text-image-outer::after{
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 10.4rem);
}
.sec-text-image:has(+ .bg-blue) .text-image-outer::after{
  background: var(--black);
}
.sec-text-image:has(+ .bg-green) .text-image-outer::after{
  background: var(--green);
}
.sec-text-image:has(+ .bg-light-blue) .text-image-outer::after{
  background: var(--light-blue);
}
.text-image{
  position: relative;
  z-index: 1;
}
.text-image img{
  width: 100%;
  height: auto;
  border-radius: 2.4rem;
}
@media(min-width:1560px) and (max-width:1579.98px){
  .text-image-outer::after {
    height: calc(100% - 9.6rem);
  }
}
@media(min-width:1460px) and (max-width:1559.98px){
  .text-image-outer::after {
    height: calc(100% - 8.8rem);
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .sec-text-image .title {
    max-width: 1120px;
  }
  .text-image-outer::after {
    height: calc(100% - 8rem);
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .sec-text-image .title {
    max-width: 1060px;
  }
  .text-image-outer::after {
    height: calc(100% - 8rem);
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .sec-text-image br{
    display: none;
  }
  .text-image-outer::after {
    height: calc(100% - 6.4rem);
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-text-image br{
    display: none;
  }
  .text-image-outer::after {
    height: calc(100% - 6.4rem);
  }
}
@media(max-width:767.98px){
  .sec-text-image br{
    display: none;
  }
  .text-image img {
    border-radius: 1.4rem;
  }
  .text-image-outer::after {
    height: calc(100% - 5.6rem);
  }
}