.home-popup .modal-dialog {
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
}
.home-popup .modal-content {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.home-popup .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  opacity: 1;
  background: rgba(255, 255, 255, 0.5) url("../../images/popup-close-icon.svg") no-repeat center/14px 14px;
  background-origin: content-box;
}
.home-popup .btn-close:focus, .home-popup .btn-close:focus-visible {
  outline: 1px solid #2C267A;
  outline-offset: 3px;
  box-shadow: none;
}
.home-popup__media {
  width: 100%;
  height: 355px;
  overflow: hidden;
}
.home-popup__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-popup__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 25px;
  text-align: left;
}
.home-popup__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.home-popup__eyebrow {
  margin: 0;
  color: #1C613B;
  font-family: "Heebo", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 21px;
}
.home-popup__title {
  margin: 8px 0;
  color: #2C267A;
  font-family: "TelAvivMuseum0.1b-Bold", sans-serif;
  font-size: 60px;
  line-height: 49px;
}
.home-popup__short-text {
  margin: 0;
  color: #000;
  font-family: "Heebo", sans-serif;
  font-weight: 400;
  white-space: pre-wrap;
  font-size: 18px;
  line-height: 30px;
}
.home-popup__cta.btn-primery {
  width: 100%;
  min-height: 60px;
  border: 0;
  background-color: #FFDD46;
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
}
@media (min-width: 992px) {
  .home-popup .modal-dialog {
    max-width: 600px;
  }
  .home-popup .modal-content {
    flex-direction: row;
  }
  .home-popup .btn-close {
    top: 30px;
    right: 30px;
    width: 29px;
    height: 26px;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url("../../images/close-modal-icon.svg");
    background-size: contain;
  }
  .home-popup__media {
    flex: 0 0 500px;
    width: 500px;
    height: 480px;
  }
  .home-popup__body {
    padding: 40px 50px;
  }
  .home-popup__title {
    font-size: 68px;
    line-height: 49px;
  }
}

@media (min-width: 992px) {
  .home-popup .modal-dialog.home-popup--with-cta .modal-content {
    min-height: 410px;
  }
}

@media (min-width: 992px) {
  .home-popup .modal-dialog.home-popup--with-image {
    max-width: 956px;
  }
  .home-popup .modal-dialog.home-popup--with-image .modal-content {
    min-height: 480px;
  }
}

.modal-backdrop.show {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.45);
}
