/* Article BBCode spacing, 1.0. Explicit empty lines control the gap after a block. */
.mv-article-text .quote,
.mv-article-text blockquote,
.mv-article-text h1,
.mv-article-text h2,
.mv-article-text h3,
.mv-article-text h4,
.mv-article-text h5,
.mv-article-text h6,
.mv-article-text ul,
.mv-article-text ol,
.mv-article-text figure,
.mv-article-text img:not(.emoji) {
    margin-bottom: 0;
}

/* This legacy quotation style declares its margin with !important. */
.mv-article-text .bbQuoteBlock {
    margin-bottom: 0 !important;
}

/* Inline photos do not need the font's descender space underneath them. */
.mv-article-text img:not(.emoji) {
    vertical-align: bottom;
}

/* A block already ends the current line. DLE also emits a <br> for the
   newline after [/quote], [/hN], [/list], [/ol] or [/center]. Suppress only
   that first break: any further breaks (the author's empty lines) remain. */
.mv-article-text .quote + br,
.mv-article-text blockquote + br,
.mv-article-text .bbQuoteBlock + br,
.mv-article-text h1 + br,
.mv-article-text h2 + br,
.mv-article-text h3 + br,
.mv-article-text h4 + br,
.mv-article-text h5 + br,
.mv-article-text h6 + br,
.mv-article-text ul + br,
.mv-article-text ol + br,
.mv-article-text figure + br,
.mv-article-text div[style*="text-align"] + br {
    display: none;
}
