/* Hide only Zeina's subject containers; never hide the following author line. */
.css-remove-subject-post-marker + div.post-title,
.css-remove-subject-editor-marker + div:has(input[name="subject"]) {
    display: none !important;
}

/* Remove the gap left by Zeina's quick-reply subject container. */
.css-remove-subject-editor-marker ~ div.mt-3 {
    margin-top: 0 !important;
}

/* The preview occurs before the editor marker in the document. */
body:has(.css-remove-subject-editor-marker) #preview .postbody > h3:first-child,
body:has(.css-remove-subject-editor-marker) #preview .post-title:first-child {
    display: none !important;
}

/* Topic title injected as h1: same size as the old post-subject heading,
   not the big header-sized h1 the theme defines. Works with or without .postbody. */
h1.css-remove-subject-topic-title,
.postbody h1.css-remove-subject-topic-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    font-weight: bold !important;
    margin: 0 0 0.3em 0 !important;
    padding: 2px 0 0 0 !important;
    text-transform: none !important;
    border: none !important;
    color: inherit;
}

h1.css-remove-subject-topic-title a {
    font-size: inherit !important;
    font-weight: inherit !important;
}
