.image-block {
  position: relative;
  height: 100%;
  width: 100%;
}

.image-frame {
  min-height: 30px;
  border-radius: 8px;
  height: 100%;
}

.image-block.size-full-width {
  height: auto;
}

.image-frame.size-full-width {
  min-height: 0;
  height: auto;
}

.image-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

.image-frame.size-contained img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.image-frame.size-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.image-frame.size-full-width img {
  width: 100%;
  height: auto;
  max-height: none;
}

.image-action-link {
  display: block;
  width: 100%;
  height: 100%;
}

.image-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.image-lightbox-trigger .image-frame {
  width: 100%;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgb(10 12 16 / 88%);
  padding: 24px;
}

.image-lightbox-image {
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.image-placeholder {
  min-height: 30px;
  display: grid;
  place-content: center;
  gap: 10px;
  color: var(--owb-section-child-text-color, #7f7a73);
  text-align: center;
}

.image-placeholder svg {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.image-toolbar {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 1;
  display: none;
}

.image-block:hover .image-toolbar,
.image-block.is-settings-open .image-toolbar {
  display: block;
}
