﻿/* Карточка «Помощь с ипотекой» на главной — фото + подложка */
.advantage {
  position: relative;
  overflow: hidden;
}

.advantage__body {
  position: relative;
  z-index: 1;
}

.advantage--ipoteka {
  min-height: 100%;
  border-color: transparent;
  background: url("../img/advantage-ipoteka.jpg") center / cover no-repeat;
  color: #fff;
}

.advantage--ipoteka::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(8, 64, 48, 0.82) 0%,
    rgba(8, 64, 48, 0.72) 45%,
    rgba(10, 47, 36, 0.88) 100%
  );
  z-index: 0;
}

.advantage--ipoteka .advantage__num {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.advantage--ipoteka h3 {
  color: #fff;
}

.advantage--ipoteka p {
  color: rgba(255, 255, 255, 0.9);
}
