/*	CUSTOM HOMES PORTFOLIO LAYOUT
-------------------------------------------- */
.custom-homes-portfolio {
  position: relative;
}
.custom-homes-portfolio__background {
  background-color: #2C2E35;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.custom-homes-portfolio__background::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 219px;
  height: 377px;
  background-image: url("../../images/circle_shape_top_right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}
@media (max-width: 1199.98px) {
  .custom-homes-portfolio__background::before {
    width: 180px;
    height: 310px;
  }
}
@media (max-width: 991.98px) {
  .custom-homes-portfolio__background::before {
    width: 150px;
    height: 260px;
  }
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__background::before {
    width: 120px;
    height: 200px;
  }
}
@media (max-width: 575.98px) {
  .custom-homes-portfolio__background::before {
    width: 90px;
    height: 150px;
  }
}
.custom-homes-portfolio__background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 196px;
  height: 354px;
  background-image: url("../../images/circle_shape_bottom_left.svg");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}
@media (max-width: 1199.98px) {
  .custom-homes-portfolio__background::after {
    width: 160px;
    height: 290px;
  }
}
@media (max-width: 991.98px) {
  .custom-homes-portfolio__background::after {
    width: 130px;
    height: 240px;
  }
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__background::after {
    width: 100px;
    height: 180px;
  }
}
@media (max-width: 575.98px) {
  .custom-homes-portfolio__background::after {
    width: 80px;
    height: 140px;
  }
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__background {
    padding: 60px 0;
  }
}
.custom-homes-portfolio__shape {
  position: absolute;
  z-index: 1;
}
.custom-homes-portfolio__shape--top-right {
  top: 0;
  right: 0;
}
.custom-homes-portfolio__shape--bottom-left {
  bottom: 0;
  left: 0;
}
.custom-homes-portfolio__shape svg {
  display: block;
}
.custom-homes-portfolio__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__content {
    gap: 30px;
    margin-bottom: 40px;
  }
}
.custom-homes-portfolio__description {
  color: #FFF;
  text-align: center;
  max-width: 850px;
}
.custom-homes-portfolio__description p {
  margin: 0;
}
.custom-homes-portfolio__cards {
  display: flex;
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  padding: 8px;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  z-index: 2;
}
@media (max-width: 991.98px) {
  .custom-homes-portfolio__cards {
    max-width: 100%;
    padding: 0 20px;
    gap: 20px;
  }
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__cards {
    flex-direction: column;
    gap: 30px;
  }
}
.custom-homes-portfolio__card {
  display: flex;
  height: 464px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 300px;
  max-width: 620px;
  min-width: 280px;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__card {
    height: auto;
    flex: none;
    width: 100%;
    max-width: none;
    min-width: auto;
  }
}
.custom-homes-portfolio__card-image-link {
  display: block;
  text-decoration: none;
  align-self: stretch;
}
.custom-homes-portfolio__card-title-link {
  text-decoration: none;
  color: inherit;
}
.custom-homes-portfolio__card-title-link:hover {
  text-decoration: none;
  color: inherit;
}
.custom-homes-portfolio__card-image {
  display: flex;
  height: 312px;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  aspect-ratio: 155/78;
  border-radius: 8px 8px 0px 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 16px;
  width: 100%;
}
@media (max-width: 991.98px) {
  .custom-homes-portfolio__card-image {
    height: 280px;
  }
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__card-image {
    height: 250px;
    aspect-ratio: auto;
  }
}
@media (max-width: 575.98px) {
  .custom-homes-portfolio__card-image {
    height: 200px;
  }
}
.custom-homes-portfolio__card-badge {
  display: flex;
  padding: 4px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.custom-homes-portfolio__card-content {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
  border-radius: 0px 0px 40px 8px;
  background: #FFF;
  flex-grow: 1;
}
.custom-homes-portfolio__card-title {
  color: #1E1F1A;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  margin: 0;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__card-title {
    font-size: 24px;
    line-height: 32px;
  }
}
.custom-homes-portfolio__card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 40px;
  align-self: stretch;
  margin-top: auto;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__card-footer {
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.custom-homes-portfolio__card-excerpt {
  flex-grow: 1;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__card-excerpt {
    flex-grow: 0;
  }
}
.custom-homes-portfolio__card-arrow {
  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}
.custom-homes-portfolio__card-arrow img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.custom-homes-portfolio__bottom-text {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__bottom-text {
    margin-top: 40px;
    flex-direction: column;
    gap: 20px;
  }
}
.custom-homes-portfolio__question {
  color: #FFF;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}
.custom-homes-portfolio__link {
  color: #18B1B5;
  text-decoration: none;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.custom-homes-portfolio__link:hover {
  text-decoration: underline;
}
.custom-homes-portfolio__link::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url("../../images/button-arrow-swagger.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}
@media (max-width: 767.98px) {
  .custom-homes-portfolio__link::after {
    width: 24px;
    height: 24px;
  }
}