/**
 * Placeholder shown in place of an image hotlinked from a blocked host.
 *
 * Inline-block rather than block: filter_autop has already wrapped the
 * surrounding content in <p> tags before the filter injects this, so a
 * block-level element here would produce invalid nesting.
 */
.wq-blocked-image {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6em 0.9em;
  border: 1px dashed #bcbcbc;
  border-radius: 3px;
  background-color: #f6f6f6;
  color: #595959;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
}

/* Keep the placeholder legible if it lands inside a table cell. */
td > .wq-blocked-image,
th > .wq-blocked-image {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}

/* Editor-side warning, shown by blocked-host-editor.js. */
.wq-blocked-host-warning {
  margin: 0.5em 0;
  padding: 0.6em 0.9em;
  border-left: 4px solid #e09600;
  background-color: #fdf8ed;
  color: #734c00;
  font-size: 0.8125rem;
}
