/**
 * DAM Image Block - Editor Styles
 */

.wp-block-dam-image {
  position: relative;
}

.wp-block-dam-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-dam-image figcaption {
  margin-top: 0.5em;
  margin-bottom: 1em;
  font-size: 0.875em;
  color: #757575;
  text-align: center;
}

.wp-block-dam-image .components-placeholder {
  min-height: 200px;
}

/* Alignment styles */
.wp-block-dam-image.alignleft {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.wp-block-dam-image.alignright {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
}

.wp-block-dam-image.aligncenter {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-dam-image.alignwide,
.wp-block-dam-image.alignfull {
  max-width: none;
  width: 100%;
}
