/* Shared rules for Trix-rendered content (editor + public display). */
.trix-content {
    line-height: 1.55;
}

.trix-content img,
.trix-content figure.attachment img {
    max-width: 700px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.trix-content figure.attachment,
.trix-content figure.attachment--preview {
    max-width: 700px;
    margin: 1rem auto;
}

/* Hide Trix's auto-generated filename/size caption everywhere — editor and public. */
.trix-content figure.attachment figcaption.attachment__caption,
trix-editor figure.attachment figcaption.attachment__caption {
    display: none !important;
}

trix-editor.trix-content {
    min-height: 320px;
    max-width: 100%;
}
