.gbg-nga-image-fallback-media button {
  width: auto;
  height: auto;
}

.gbg-nga5-post-image {
  position: relative;
}
.gbg-nga5-post-image .post-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  pointer-events: none;
}
.gbg-nga5-post-image .post-image-content, .gbg-nga5-post-image .post-image-content img {
  width: 100%;
  height: 100%;
}
.gbg-nga5-post-image.post-image-show-copyright .post-image-info-block {
  top: calc(50% - 1rem);
}
.gbg-nga5-post-image .post-image-info-block {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: absolute;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gbg-nga5-post-image .post-image-info-block .post-image-title {
  text-align: center;
  padding: 1rem 1.5rem;
  margin: 0;
}
.gbg-nga5-post-image:not(.post-image-zoom-block) .post-image-copyright {
  left: 0;
}
.gbg-nga5-post-image.post-image-zoom-block .post-image-copyright {
  left: 2.6rem;
}
.gbg-nga5-post-image .post-image-copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  color: white;
  padding: 0.25rem 0.5rem;
  background: #686868;
  width: fit-content;
  opacity: 0.2;
  font-size: 0.9rem;
  border-top-right-radius: 4px;
}
.gbg-nga5-post-image .post-image-copyright * {
  font-size: 0.9rem;
}
@media (max-width: 767px) {
  .gbg-nga5-post-image .post-image-copyright * {
    font-size: 0.8rem;
  }
}
.gbg-nga5-post-image .post-image-copyright .copyright-intro {
  font-weight: 400;
}
.gbg-nga5-post-image .post-image-copyright a {
  margin-left: 0.15rem;
  margin-right: 0.15rem;
}
.gbg-nga5-post-image.post-image-scale-cover .post-image-content img {
  object-fit: cover;
  object-position: center;
}
.gbg-nga5-post-image.post-image-scale-contain .post-image-content img {
  object-fit: contain;
  object-position: center;
}
.gbg-nga5-post-image.post-image-scale-none .post-image-content img {
  object-fit: none;
  object-position: center;
}
.gbg-nga5-post-image.post-image-scale-fill .post-image-content img {
  object-fit: fill;
  object-position: center;
}
.gbg-nga5-post-image .post-image-zoom-block {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 1rem;
  opacity: 0.3;
  height: 1.6rem;
  width: 1.6rem;
  z-index: 9;
  border-top-left-radius: 4px;
  background: #686868;
  cursor: zoom-in;
}
.gbg-nga5-post-image .post-image-zoom-block > span {
  font-size: 1rem;
  padding: 0.2rem;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gbg-nga5-post-image:hover .post-image-copyright, .gbg-nga5-post-image:hover .post-image-zoom-block, .gbg-nga5-post-image:active .post-image-copyright, .gbg-nga5-post-image:active .post-image-zoom-block, .gbg-nga5-post-image:focus .post-image-copyright, .gbg-nga5-post-image:focus .post-image-zoom-block {
  opacity: 1;
}

.post-image-zoom-wholeimage .post-image-image {
  cursor: zoom-in;
}

.gbg-nga5-post-image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  cursor: zoom-out;
  overflow: auto;
}
.gbg-nga5-post-image-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.gbg-nga5-post-image-modal-overlay .image-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  cursor: default;
}
.gbg-nga5-post-image-modal-overlay .image-modal-copyright {
  color: white;
  padding: 0.5rem 1.5rem;
}

body.gbg-nga5-setting-no-image .group-query-loop-lmous .wp-block-query > .wp-block-post-template > li {
  padding-top: 0;
}
body.gbg-nga5-setting-no-image .group-query-loop-lmous .gbg-nga5-post-image {
  display: none;
}

body.gbg-nga5-setting-small-image .group-query-loop-lmous div.gbg-nga5-post-image, body.gbg-nga5-setting-small-image .group-query-loop-lmous div.gbg-nga5-post-image .post-image-content {
  height: 100% !important;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous > .wp-block-query > .wp-block-post-template > li {
  padding: 0;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .wp-block-post-title {
  margin-bottom: 0.75rem !important;
  margin-right: 0.75rem !important;
  display: flex;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .gbg-nga5-publication-info div, body.gbg-nga5-setting-small-image .group-query-loop-lmous .gbg-nga5-publication-info span {
  font-size: 0.8rem !important;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .wp-block-post-title {
  font-size: 1rem !important;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .gbg-nga5-post-image {
  height: 100px !important;
  width: 100px !important;
  float: left;
  margin-right: 1rem;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .gbg-nga5-post-image .post-image-content {
  height: 100px !important;
}
body.gbg-nga5-setting-small-image .group-query-loop-lmous .wp-block-post-title > a {
  display: inline;
}

body.gbg-nga5-setting-image-by-default .group-query-loop-lmous .gbg-nga5-post-image,
body:not(.gbg-nga5-setting-small-image):not(.gbg-nga5-setting-no-image) .group-query-loop-lmous .gbg-nga5-post-image {
  margin-left: -0.75rem !important;
  margin-top: -0.75rem !important;
  margin-right: -0.75rem !important;
}
body.gbg-nga5-setting-image-by-default .group-query-loop-lmous > .wp-block-query > .wp-block-post-template > li > .wp-block-group,
body:not(.gbg-nga5-setting-small-image):not(.gbg-nga5-setting-no-image) .group-query-loop-lmous > .wp-block-query > .wp-block-post-template > li > .wp-block-group {
  width: 100%;
}

.group-query-loop-lmous > .wp-block-query > .wp-block-post-template > li {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 0.75rem;
  background: #ffffff;
  display: flex;
}

/*# sourceMappingURL=gbg-nga-block-types-post-image.css.map */
