.certificate .col {
  max-width: 300px;
}

.certificate .col img {
  max-width: 300px;
}

.banner-mortgage {
  margin: 90px 0;
}

.banner-mortgage__img {
  height: 400px;
  position: relative;
  overflow: hidden
}

.banner-mortgage__img::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -560px;
  bottom: 0;
  width: 100%;
  transform: skewX(-20deg);
  transform-origin: 0 0;
}

.banner-pochta {
  background: url(/img/banner-mortgage-dom.jpg) no-repeat right center;
  background-color: #f4f4ff;
}

.banner-pochta::before {
  background-color: #f4f4ff;
}

.banner-family {
  background: url(/img/banner-mortgage-family.jpg) no-repeat right center;
  background-color: #f8f8f8;
}

.banner-family::before {
  left: -250px;
  background-color: #f8f8f8;
}

.banner-benefit {
  background: url(/img/banner-mortgage-benefit.jpg) no-repeat right center;
}

.banner-benefit::before {
  left: -560px;
}

.banner-mortgage__text {
  padding: 2rem 1rem;
  height: 400px;
}

.banner-mortgage__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 75%;
  width: 100%;
  font-size: 20px;
}

.banner-mortgage__title {
  position: relative;
  display: inline-flex;
  min-height: 67px;
  align-items: center;
  text-transform: uppercase;
  font-size: 1.5em;
  line-height: 117%;
  font-weight: 700;
  color: #fff;
  padding: 7px 40px 7px 0;
  width: 100%;
}

.banner-mortgage__sub-title {
  padding: 0 60px 0 0;
  transform: translate(70px, -5px);
  min-width: 369px;
  width: auto;
  text-align: right;
}

.banner-mortgage__title:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: skewX(-29deg);
}

.banner-mortgage__sub-title:after {
  left: -30px;
  width: 100%;
  min-width: 369px;
}

.banner-mortgage__title-before:before {
  content: "";
  position: absolute;
  left: -950%;
  width: 1000%;
  top: 0;
  bottom: 0;
}

.banner-pochta .banner-mortgage__title:after,
.banner-pochta .banner-mortgage__title-before:before {
  background: #ea3d4a;
}

.banner-pochta .banner-mortgage__sub-title:after {
  background: #1447bb;
}

.banner-family .banner-mortgage__title:after,
.banner-family .banner-mortgage__title-before:before {
  background: #9ac335;
}

.banner-family .banner-mortgage__sub-title:after {
  background: #549b01;
}

.banner-mortgage span {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.banner-mortgage__button {
  padding: 0rem 1.5rem;
  background: #3a499d;
}

.banner-mortgage__button:hover {
  padding: 0rem 1.5rem;
  background: #273583;
}

.dom-rf-logo {
  border-right: 0.4rem solid #9ac335;
  padding-right: 2rem;
}

.banner-mortgage__number-block {
  font-weight: 700;
  color: #9ac335;
  font-size: 3rem;
}

.banner-mortgage__number-block span {
  font-size: 2em;
}

@media (max-width: 1200px) {
  .banner-mortgage__img {
    background-position-x: left;
    background-size: cover;
  }


  .banner-mortgage__img::before {
    left: 0;
    transform: skewX(0deg);
    background: #f4f4ffde;
  }

  .banner-mortgage__title-block {
    font-size: 18px;
  }
}


@media (max-width: 576px) {
  .banner-mortgage__title-block {
    font-size: 14px;
  }

  .banner-mortgage__sub-title {
    padding: 0 20px 0 0;
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .banner-mortgage__number-block {
    font-size: 2rem;
  }
}

.swiper-pagination-bullet.swiper-pagination-cust {
  width: 30px;
  height: 4px;
  background: #6f6f6f;
  border-radius: unset;
}

.swiper-pagination-bullet-active.swiper-pagination-cust {
  opacity: 0.9;
}