.ProseMirrorContainer {
  border: 1px solid var(--Input-borderColor);
  margin-bottom: var(--gap-m);
  opacity: 1;
  position: relative;
  transition: all 1s var(--ease-out);

  &.hide {
    opacity: 0;
  }

  &:hover {
    border-color: var(--Input-focusColor);
  }

  &:focus-within {
    border-color: var(--Input-focusColor);
  }

  .CodeMirror {
    border-width: 0;
  }
}

&.is-htmlMode {
  .CIG-wordCount {
    display: none;
  }
}
