.sec-block-v1:has(+ .bg-gray){
  background: var(--light-gray);
  margin-bottom: 0;
}
.sec-block-v1:has(.block-v1-img){
  padding-bottom: 0;
}
.sec-block-v1::after{
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 12.8rem);
  background: var(--black);
}
.sec-block-v1 .col-lg-6:first-child{
  align-self: flex-start;
}
.block-v1-text{
  max-width: 68rem;
  padding-bottom: 16rem;
  position: relative;
  z-index: 1;
}
.block-v1-text h1,
.block-v1-text h2,
.block-v1-text h3,
.block-v1-text h4{
  font-size: 4.4rem;
  line-height: 120%;
  font-weight: bold;
  margin: 0 0 3.2rem;
  color: var(--white);
}
.block-v1-text h5,
.block-v1-text h6{
  font-size: 2.4rem;
  line-height: 160%;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 3.2rem;
  font-family: 'Space Grotesk';
}
.block-v1-text h1:last-child,
.block-v1-text h2:last-child,
.block-v1-text h3:last-child,
.block-v1-text h4:last-child,
.block-v1-text h5:last-child,
.block-v1-text h6:last-child{
  margin: 0;
}
.block-v1-text p{
  color: var(--gray);
}
.block-v1-img{
  max-width: 64rem;
  width: 100%;
  margin: 0 0 0 auto;
  position: relative;
  z-index: 1;
}
.block-v1-img img{
  width: 100%;
  height: auto;
}
@media(min-width:1560px) and (max-width:1579.98px){
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 4.2rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2.3rem;
  }
}
@media(min-width:1460px) and (max-width:1559.98px){
  .sec-block-v1::after {
    height: calc(100% - 10.8rem);
  }
  .block-v1-text {
    max-width: 64rem;
    padding-bottom: 14rem;
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2.23rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px){
  .sec-block-v1::after {
    height: calc(100% - 9.8rem);
  }
  .block-v1-text {
    max-width: 57rem;
    padding-bottom: 13rem;
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 3.6rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2rem;
    margin: 0 0 2.4rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .sec-block-v1::after {
    height: calc(100% - 8.8rem);
  }
  .block-v1-text {
    max-width: 55rem;
    padding-bottom: 12rem;
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 3.4rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2rem;
    margin: 0 0 2.4rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .sec-block-v1::after {
    height: calc(100% - 6.4rem);
  }
  .block-v1-text {
    padding-bottom: 10.4rem;
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 3rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-btn {
    margin-top: 3.2rem;
  }
  .block-v1-text br{
    display: none;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-block-v1::after {
    height: calc(100% - 6.4rem);
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 3.2rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text {
    padding-bottom: 5.6rem;
  }
  .block-v1-img {
    max-width: 100%;
  }
  .block-v1-text br{
    display: none;
  }
}
@media(max-width:767.98px){
  .sec-block-v1::after {
    height: calc(100% - 5.6rem);
  }
  .block-v1-text h1,
  .block-v1-text h2,
  .block-v1-text h3,
  .block-v1-text h4{
    font-size: 2.8rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text h5, 
  .block-v1-text h6 {
    font-size: 2rem;
    margin: 0 0 2.4rem;
  }
  .block-v1-text {
    max-width: 100%;
    padding-bottom: 4rem;
  }
  .block-v1-img {
    max-width: 100%;
  }
  .block-v1-text br{
    display: none;
  }
}