/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-fullscreen-image__image {
  cursor: pointer;
}
.pc-fullscreen-image__image-wrapper {
  position: relative;
}
.pc-fullscreen-image__image-wrapper:hover .pc-fullscreen-image__icon-wrapper {
  opacity: 1;
}
.pc-fullscreen-image__modal-content {
  position: relative;
  border-radius: var(--pc-border-radius);
}
.pc-fullscreen-image__modal-image {
  display: block;
  max-width: 1232px;
  max-height: 70vh;
  overflow: hidden;
}
.pc-fullscreen-image__modal .g-modal__content, .pc-fullscreen-image__modal-image {
  border-radius: var(--pc-border-radius);
}
.pc-fullscreen-image__icon-wrapper {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--g-color-base-simple-hover-solid);
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
}
.pc-fullscreen-image__icon-wrapper:focus {
  outline: 2px solid var(--g-color-line-focus);
  outline-offset: 0;
}
.pc-fullscreen-image__icon-wrapper:focus:not(:focus-visible) {
  outline: 0;
}
.pc-fullscreen-image__icon-wrapper_visible {
  opacity: 1;
}
.pc-fullscreen-image__icon {
  color: var(--g-color-text-hint);
}
.pc-fullscreen-image__icon_hover:hover {
  color: var(--g-color-text-secondary);
}
@media (max-width: 1185px) {
  .pc-fullscreen-image__modal-image {
    width: 100%;
  }
}
@media (max-width: 1081px) {
  .pc-fullscreen-image__image {
    pointer-events: none;
  }
  .pc-fullscreen-image__icon-wrapper {
    display: none;
  }
  .pc-fullscreen-image__modal {
    display: none !important; /* stylelint-disable-line declaration-no-important */
  }
}