/* stylelint-disable */
.custom-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: var(--spacing-large) 0;
}
@media (min-width: 1024px) {
  .custom-image {
    padding: var(--spacing-xxlarge) 0;
  }
}
.custom-image__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: 100%;
}
@media (min-width: 1024px) {
  .custom-image__container--small {
    width: 45%;
  }
}
@media (min-width: 1440px) {
  .custom-image__container--small {
    width: 35%;
  }
}
@media (min-width: 1024px) {
  .custom-image__container--medium {
    width: 60%;
  }
}
@media (min-width: 1440px) {
  .custom-image__container--medium {
    width: 46.67%;
  }
}
@media (min-width: 1024px) {
  .custom-image__container--large {
    width: 85%;
  }
}
.custom-image__figcaption {
  margin-top: var(--spacing-xsmall);
  text-align: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .custom-image__figcaption--small {
    width: 45%;
  }
  .custom-image__figcaption--medium {
    width: 60%;
  }
  .custom-image__figcaption--large {
    width: 85%;
  }
}
@media (min-width: 1440px) {
  .custom-image__figcaption--small {
    width: 35%;
  }
  .custom-image__figcaption--medium {
    width: 46.67%;
  }
}
.custom-image__picture--dark {
  display: none;
}
.custom-image__picture--light {
  display: block;
}
.custom-image__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.dark-mode .custom-image__picture--light {
  display: none;
}
.dark-mode .custom-image__picture--dark {
  display: block;
}
.dark-mode .custom-image__container--light-only .custom-image__picture--light {
  display: block;
}

.editor-mode .custom-image .editor-placeholder.custom-image__picture {
  min-height: 200px;
  width: 100%;
  min-width: 60vw;
}
@media (min-width: 1024px) {
  .editor-mode .custom-image .editor-placeholder.custom-image__picture {
    min-height: 300px;
    min-width: 70vw;
  }
}