/* Neue Postbit */
/* Grundstruktur */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    background-color: var(--banner-color);
    background-image: var(--banner-pattern);
}

/* LINKS */
.post-header-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Gruppenbild Container */
.group-image img {
    display: block;
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    margin-top: 10px;
    padding: 10px; 
    opacity: 0.4;
    vertical-align: middle;
}

/* Username */
.post-username {
    font-family: var(--font-base);
    font-size: 35px;
    text-transform: lowercase !important;
    letter-spacing: 0.1em;
    margin-left: -25px;
}

/* Wenn Bild vorhanden → kleine Überlappung */
.group-image img + .post-username {
    margin-left: -10px;
}

/* Usertitel */
.post-usertitle {
    font-family: 'roboto', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.7;
    margin-left: 8px;
}

.post-usertitle::before {
    content: "—";
    margin-right: 6px;
    opacity: 0.5;
}

/* RECHTS */
.post-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    color: var(--main-text);
}

.post-icon {
    padding: 10px;
}

.post-icon img {
    display: block;
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
}

body.guest .post-icon img.usericon {
    content: url(../../../images/001/defaulticon.png);
}

/* POST-NUMMERIERUNG*/

/* Referenzpunkt ist der Content-Bereich */
.post_content {
    position: relative;
    background-color: var(--banner-color);
}

/* Postnummer */
.post_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 28px;
}

/* rechter Bereich */
.post_head-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Moderations-Checkbox */
.post_content input.checkbox {
    position: absolute;
    top: 6px;
    right: 45px;
    margin: 0 !important;
}

/* POST-AUTHOR BEREICH */
.post.classic .post_author {
    width: 320px;
    float: left;
    background: var(--banner-color);
    background-image: var(--banner-pattern);
    padding: 18px 10px;
    border: none;
}

.post.classic .post_content {
    margin-left: 340px; /* 320px + 20px Luft */
    width: auto;
    float: none;
}

.author-avatar {
    width: 300px;
    height: 250px;
    position: relative; /* wichtig für Account-Switcher */
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.author-avatar img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    display: block;
    border: none !important;
    background: none !important;
    display: block;
}

.author-field {
    margin-bottom: 6px;
    text-align: center;
}

.author-fields {
    width: 300px;
    margin-top: 18px;
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
}

.author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.1);
}

.author-label {
    letter-spacing: 0.05em;
}

.author-value {
    text-align: right;
}

.author-switch {
    width: 300px;
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.post_author {
    opacity: 1 !important;
}

/* dunkler Post-Hintergrund im Olympus-Look */
.post.classic {
    background-color: var(--banner-color); /* dunkles Grau */
    border: none;
    padding: 0px;
}

.post_content,
.post_body {
    background-color: var(--banner-color); /* passt sich an */
}

/* Text im Postinhalt */
.post_body,
.post_body * {
    color: var(--main-text);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

/* Zitat-Boxen anpassen */
blockquote {
    background-color: #232323;
    border-left: 3px solid #444;
    color: #ddd;
}

/* Anhänge/Signaturen optisch abheben */
.post_signature {
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ddd;
}

.threadtitle {
    height: auto;
    font-family: var(--font-base);
    font-size: 40px;
    text-transform: lowercase !important;
    letter-spacing: 0.1em;
    opacity: 0.8;
    color: var(--akzent);
    vertical-align: top;
    text-align: right;
}

.threadsubtitle {
    height: auto;
    font-family: var(--font-base);
    font-size: 30px;
    text-transform: lowercase !important;
    letter-spacing: 0.1em;
    margin: 10px;
    opacity: 0.8;
    color: var(--akzent);
    vertical-align: top;
    text-align: left;
}

b {
    text-transform: uppercase;
    color: var(--akzent) !important;
    font-weight: bold;
    opacity: 0.8;
}