.entry-content p,
.editor-content p,
.category-rich-content p {
    margin-top: 0;
    margin-bottom: 1em;
}

.entry-content p:last-child,
.editor-content p:last-child,
.category-rich-content p:last-child {
    margin-bottom: 0;
}

.entry-content p:empty,
.editor-content p:empty,
.category-rich-content p:empty {
    min-height: 1em;
}

.entry-content p:empty::after,
.editor-content p:empty::after,
.category-rich-content p:empty::after {
    content: "\00a0";
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.category-rich-content h1,
.category-rich-content h2,
.category-rich-content h3,
.category-rich-content h4,
.category-rich-content h5,
.category-rich-content h6 {
    margin-top: 1.35em;
    margin-bottom: 0.65em;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child,
.category-rich-content h1:first-child,
.category-rich-content h2:first-child,
.category-rich-content h3:first-child,
.category-rich-content h4:first-child,
.category-rich-content h5:first-child,
.category-rich-content h6:first-child {
    margin-top: 0;
}
