.note {
    max-width: 35rem;
    margin: 0 auto;
}

article.note {
    padding-top: 2rem;
}

.note-footer {
    padding: 2rem 0;
}

ul.note-tags {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 2em;
}
.note-tags li {
    margin-right: .5rem;
    display: inline;
}
.note-tags a:before {
    content: none;
}
.note-tags a {
    background: #f9f9f9;
    color: #777;
    font-size: .95em;
    padding: 5px;
    border-radius: 5px;
}
.note-tags a:hover {
    color: #000;
    background: #f5ff00;
    text-decoration: none;
}
@media (prefers-color-scheme: dark) {
    .note-tags a {
        background: #202020;
    }
}

/* Metadaten-Tabelle unter Comment/Text (angelehnt an image-single-meta-table) */
.media-meta-table {
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 1em;
}
.media-meta-table th,
.media-meta-table tbody th {
    text-align: left;
    padding: 0.5rem 1rem 0.5rem 0;
    font-weight: 600;
    vertical-align: top;
    width: 30%;
    color: var(--color-text, #333);
    line-height: 1.4;
}
.media-meta-table td,
.media-meta-table tbody td {
    padding: 0.5rem 0;
    vertical-align: top;
    color: var(--color-text, #666);
    line-height: 1.4;
}
.media-meta-table tr {
    border-bottom: 1px solid var(--color-border, #eee);
}
.media-meta-table tr:last-child {
    border-bottom: none;
}
.media-meta-table a {
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--link-underline-color, #999);
}
.media-meta-table a:hover {
    text-decoration: none;
}
@media (prefers-color-scheme: dark) {
    .media-meta-table th {
        color: var(--color-text, #ccc);
    }
    .media-meta-table td {
        color: var(--color-text, #aaa);
    }
    .media-meta-table tr {
        border-bottom-color: var(--color-border, #444);
    }
}

/* Poster: links neben dem Text (wie block-aside), Datei max. 500px, kein Lightbox */
.media-poster img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* wirres.css macht Aside unter 1290px vollbreit — Poster bleibt Thumbnail */
@media (max-width: 1290px) {
    figure.block-aside.media-poster {
        float: left;
        width: 200px;
        max-width: 200px;
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
        margin-top: 1em !important;
        margin-bottom: 0.75rem !important;
        clear: left;
    }
}

@media (max-width: 40rem) {
    /* Abstand zur Überschrift wie zuvor (war padding-top am Kommentar) */
    .media-entry-body {
        padding-top: 1em;
    }

    /* Kein margin-top am Float: sonst läuft der Text in die Lücke über dem Bild */
    .media-entry-body > figure.block-aside.media-poster {
        width: 9rem;
        max-width: 38vw;
        /* margin-top: 0 !important; */
        margin-right: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .media-entry-body > div.note.text.e-content,
    .media-entry-body > div.note.text.e-content.comment {
        padding-top: 0;
    }

    .media-meta-table,
    .note-footer,
    .isso-thread {
        clear: both;
    }
}
