.popup.popup-smaller {
  max-width: 920px;
  display: flex;
  align-items: center;
  height: 100vh;
}
@media (min-width: 990px) {
  .popup.popup-smaller {
    padding-bottom: 10vh;
  }
}
.popup.popup-smaller .popup-inner {
  padding: 24px;
  position: relative;
  overflow: inherit;
  border: 2px solid #8f8f8f;
}
@media (max-width: 777px) {
  .popup.popup-smaller .popup-inner {
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
  }
}
.popup.popup-smaller .popup-close {
  top: -24px;
  right: -24px;
  border-color: #8f8f8f;
}
.popup.popup-smaller .popup-close:hover {
  background-color: #8f8f8f;
}
@media (max-width: 777px) {
  .popup.popup-smaller .popup-close {
    top: 6px;
    right: 6px;
  }
}
.popup.popup-smaller .text-media {
  display: flex;
  align-items: center;
}
@media (max-width: 777px) {
  .popup.popup-smaller .text-media {
    gap: 24px;
  }
}
.popup.popup-smaller .text-media-media figure {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
}
.popup.popup-smaller .text-media-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}