.knowledge-integrated-page {
  background: #fff;
}

.knowledge-integrated-database {
  padding: 42px 0 80px;
}

.knowledge-integrated-frame {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #fff;
}

.knowledge-integrated-fallback {
  padding: 18px;
  border: 1px solid #d5e2ea;
  border-radius: 12px;
  background: #f4f7f9;
  color: #536f82;
}

.knowledge-integrated-fallback a {
  color: #0b3558;
  font-weight: 700;
}

body.knowledge-lightbox-open {
  overflow: hidden;
}

.knowledge-image-lightbox {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 70px);
  background: rgba(3, 20, 35, 0.9);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.knowledge-image-lightbox[hidden] {
  display: none;
}

.knowledge-image-lightbox figure {
  display: grid;
  max-width: min(1500px, 100%);
  max-height: 100%;
  margin: 0;
  place-items: center;
  cursor: default;
}

.knowledge-image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.knowledge-image-lightbox-close {
  position: fixed;
  z-index: 2;
  top: 24px;
  right: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.knowledge-image-lightbox-close:hover,
.knowledge-image-lightbox-close:focus-visible {
  background: #fff;
  color: #0a2d4d;
  outline: none;
}

@media (max-width: 700px) {
  .knowledge-integrated-database {
    padding: 20px 0 60px;
  }

  .knowledge-integrated-frame {
    height: 900px;
  }

  .knowledge-image-lightbox {
    padding: 65px 14px 24px;
  }

  .knowledge-image-lightbox img {
    max-height: calc(100vh - 120px);
    border-radius: 8px;
  }

  .knowledge-image-lightbox-close {
    top: 12px;
    right: 13px;
    width: 43px;
    height: 43px;
  }
}
