@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

main.lending-partners .bannerArea {
  width: 100%;
  height: 403px;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  background-image: url(../lending-partner/images/lending-partners-banner.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 15px 20px;
}

main.lending-partners .bannerArea h1 {
  color: #fff;
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 60px;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  margin: 0;
  max-width: 620px;
}

main.lending-partners .content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  gap: 30px;
}

main.lending-partners .content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
}

main.lending-partners .content-section h2 > span,
main.lending-partners .content-section h2.title {
  font-size: 25px;
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 800;
  line-height: 100%;
  margin-bottom: 0;
  text-align: center;
}

main.lending-partners .content-section p {
  color: #000102;
  text-align: center;
  font-size: 25px;
  font-weight: 400;
  line-height: normal;
  max-width: 880px;
  margin-bottom: 0;
}

main.lending-partners .content-section h3 {
  color: #4b9d45;
  text-align: center;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Nunito Sans";
  font-size: 22px;
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 0;
}

main.lending-partners .content-section .boxes-wrap {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 1068px;
  margin-bottom: 35px;
  justify-content: center;
}

main.lending-partners .boxes-wrap .box-item {
  height: 280px;
  flex: 1;
  max-width: 335px;
}

main.lending-partners .boxes-wrap .box-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main.lending-partners .content-section .subtext {
  color: #000;
  text-align: center;
  font-family: "Nunito Sans";
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

main.lending-partners .properties-section {
  background: #e6e7e8;
  padding: 47px 0 67px 0;
}

main.lending-partners .properties-section .title-wrap {
  padding: 0 20px;
}

main.lending-partners .properties-section h2.title {
  color: #2f3a43;
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 40px;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  main.lending-partners .bannerArea h1 {
    font-size: 48px;
  }
  main.lending-partners .content-section p,
  main.lending-partners .content-section h2 > span,
  main.lending-partners .content-section h2.title {
    font-size: 22px;
  }

  main.lending-partners .content-section h3 {
    font-size: 20px;
  }

  main.lending-partners .content-area {
    gap: 20px;
  }
  main.lending-partners .properties-section h2.title {
    font-size: 32px;
  }
}

@media(max-width:768px){
  main.lending-partners .content-section .boxes-wrap{
    flex-wrap: wrap;
  }

  main.lending-partners .boxes-wrap .box-item{
    flex: none;
    width: 47%;

  }
}

@media (max-width: 576px) {
  main.lending-partners .bannerArea {
    height: 250px;
  }

  main.lending-partners .bannerArea h1 {
    font-size: 32px;
  }

  main.lending-partners .content-section .boxes-wrap {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  main.lending-partners .boxes-wrap .box-item {
    flex: none;
    width: 100%;
    height: auto;
  }

  main.lending-partners .content-section p,
  main.lending-partners .content-section h2 > span,
  main.lending-partners .content-section h2.title {
    font-size: 20px;
  }

  main.lending-partners .properties-section {
    padding: 27px 0 47px 0;
  }
}
