.block-slider-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  background: url(../images/block-slider-bg.jpg);
  background-size: cover;
  padding-top: 8.5rem;
  position: relative;
}
.block-slider-img{
  width: 59.1%;
  align-self: flex-end;
}
.block-slider-img-item img{
  width: 100%;
  height: 71.6rem;
  object-fit: cover;
}
.block-slider-img .owl-nav{
  position: absolute;
  bottom: 8.5rem;
  right: 0;
}
.block-slider-box{
  position: relative;
  z-index: 1;
  width: calc((100% - 59.1%) + 12rem);
  margin-left: -12rem;
  min-height: 68.8rem;
  padding: 8.8rem 4rem 4rem 6.9rem;
  border-radius: 2.4rem 0 0 0;
  background: var(--gray);
  margin-bottom: 16.5rem;
}
.block-slider-box-inner{
  max-width: 50.8rem;
}
.block-slider-box .title{
  margin-bottom: 8rem;
}
.block-slider-text{
  max-width: 47.3rem;
}
.block-slider-text h1,
.block-slider-text h2,
.block-slider-text h3,
.block-slider-text h4,
.block-slider-text h5,
.block-slider-text h6{
  line-height: 2.8rem;
  margin: 0 0 3.7rem;
}
.block-slider-text h1:last-child,
.block-slider-text h2:last-child,
.block-slider-text h3:last-child,
.block-slider-text h4:last-child,
.block-slider-text h5:last-child,
.block-slider-text h6:last-child{
  margin-bottom: 0;
}
@media(min-width:1200px) and (max-width:1215.98px){
  .block-slider-inner {
    padding-top: 7.5rem;
  }
  .block-slider-box .title {
    margin-bottom: 6rem;
  }
  .block-slider-box {
    width: calc((100% - 59.1%) + 10.8rem);
    margin-left: -10.8rem;
    min-height: 63.8rem;
    padding: 6.8rem 4rem 4rem 6rem;
    margin-bottom: 15.8rem;
  }
  .block-slider-text h1, 
  .block-slider-text h2, 
  .block-slider-text h3, 
  .block-slider-text h4, 
  .block-slider-text h5, 
  .block-slider-text h6 {
    margin: 0 0 2.7rem;
  }
  .block-slider-img-item img {
    height: 66.6rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .block-slider-inner {
    padding-top: 6.5rem;
  }
  .block-slider-box {
    width: calc((100% - 59.1%) + 9.4rem);
    margin-left: -9.4rem;
    min-height: 58.8rem;
    padding: 4rem 2.4rem 2.4rem 3.2rem;
    margin-bottom: 12.6rem;
  }
  .block-slider-box .title {
    margin-bottom: 4rem;
  }
  .block-slider-text h1, 
  .block-slider-text h2, 
  .block-slider-text h3, 
  .block-slider-text h4, 
  .block-slider-text h5, 
  .block-slider-text h6 {
    line-height: 2.4rem;
    margin: 0 0 2.4rem;
  }
  .block-slider-img-item img {
    height: 61.6rem;
  }
  .block-slider-img .owl-nav {
    bottom: 6.5rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-block-slider{
    background: var(--gray);
  }
  .block-slider-inner{
    background: transparent;
    padding-top: 5.6rem;
  }
  .block-slider-inner::before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 5.6rem;
    background-image: url(../images/block-slider-top-bg.png);
    background-size: cover;
  }
  .block-slider-img {
    width: 100%;
  }
  .block-slider-img::after{
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 50%;
    height: 40rem;
    background: var(--dark-black);
  }
  .block-slider-img::before{
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    width: 39.1rem;
    height: 40rem;
    background-image: url(../images/text-slider-mobile-bg.png);
    background-size: cover;
    background-position: right bottom;
  }
  .block-slider-img .owl-stage-outer{
    z-index: 1;
  }
  .block-slider-box-inner {
    max-width: 69rem;
    margin: 0 auto;
  }
  .block-slider-box {
    width: 100%;
    margin-left: 0;
    min-height: initial;
    padding: 2.4rem 1.5rem 3.5rem;
    border-radius: 0;
    margin-bottom: 0;
    order: -1;
  }
  .block-slider-box .title {
    margin-bottom: 4rem;
  }
  .block-slider-text {
    max-width: 100%;
  }
  .block-slider-text h1, 
  .block-slider-text h2, 
  .block-slider-text h3, 
  .block-slider-text h4, 
  .block-slider-text h5, 
  .block-slider-text h6 {
    margin: 0 0 1.7rem;
  }
  .block-slider-img-item img {
    height: 80vw;
    border-radius: 5rem 0 6rem 0; 
  }
  .block-slider-img .owl-nav {
    position: relative;
    z-index: 1;
    bottom: 0;
    justify-content: center;
    width: 100%;
  }
}
@media(max-width:767.98px){
  .sec-block-slider{
    background: var(--gray);
  }
  .block-slider-inner{
    background: transparent;
    padding-top: 5.6rem;
  }
  .block-slider-inner::before{
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 5.6rem;
    background-image: url(../images/block-slider-top-bg.png);
    background-size: cover;
  }
  .block-slider-img {
    width: 100%;
  }
  .block-slider-img::after{
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 50%;
    height: 40rem;
    background: var(--dark-black);
  }
  .block-slider-img::before{
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    width: 39.1rem;
    height: 40rem;
    background-image: url(../images/text-slider-mobile-bg.png);
    background-size: cover;
    background-position: right bottom;
  }
  .block-slider-img .owl-stage-outer{
    z-index: 1;
  }
  .block-slider-box-inner {
    max-width: 51rem;
    margin: 0 auto;
  }
  .block-slider-box {
    width: 100%;
    margin-left: 0;
    min-height: initial;
    padding: 2.4rem 1.5rem 3.5rem;
    border-radius: 0;
    margin-bottom: 0;
    order: -1;
  }
  .block-slider-box .title {
    margin-bottom: 2.2rem;
  }
  .block-slider-text {
    max-width: 100%;
  }
  .block-slider-text h1, 
  .block-slider-text h2, 
  .block-slider-text h3, 
  .block-slider-text h4, 
  .block-slider-text h5, 
  .block-slider-text h6 {
    line-height: 2.4rem;
    margin: 0 0 1.7rem;
    font-size: 1.6rem;
  }
  .block-slider-img-item img {
    height: 80vw;
    border-radius: 5rem 0 6rem 0; 
  }
  .block-slider-img .owl-nav {
    position: relative;
    z-index: 1;
    bottom: 0;
    justify-content: center;
    width: 100%;
  }
}
@media(max-width:575.98px){
  .block-slider-img::after,
  .block-slider-img::before{
    height: 67vw;
  }
}