/* Neue Postbit */
/* Grundstruktur */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    background-color: var(--base-color);
    background-image: var(--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-title);
    font-size: 35px;
    text-transform: lowercase !important;
    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: left;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    color: var(--maincolor-text);
}

.post-icon {
    padding: 10px;
}

.post-icon img {
    display: block;
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
    border-radius: 50%;
}

body.guest .post-icon img.usericon {
    content: url(../../../images/002/defaulticon.png);
}

/* POST-NUMMERIERUNG*/

/* Referenzpunkt ist der Content-Bereich */
.post_content {
    position: relative;
    background-color: var(--base-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(--base-color);
    background-image: var(--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-content-rating .author-value {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.post.classic .pepper-rating,
.post.classic .violence-rating {
    display: flex;
    justify-content: flex-end;
    width: 110px;
    gap: 4px;
    padding-bottom: 5px;
}

/* Pepper */
.pepper-rating .fa-pepper-hot {
    color: #aaa;
}

.pepper-rating.pepper-1 .fa-pepper-hot:nth-child(1),
.pepper-rating.pepper-2 .fa-pepper-hot:nth-child(-n+2),
.pepper-rating.pepper-3 .fa-pepper-hot:nth-child(-n+3),
.pepper-rating.pepper-4 .fa-pepper-hot:nth-child(-n+4),
.pepper-rating.pepper-5 .fa-pepper-hot:nth-child(-n+5) {
    color: var(--muted-tone);
}

/* Violence */
.violence-rating .fa-hand-fist {
    color: #aaa;
}

.violence-rating.violence-1 .fa-hand-fist:nth-child(1),
.violence-rating.violence-2 .fa-hand-fist:nth-child(-n+2),
.violence-rating.violence-3 .fa-hand-fist:nth-child(-n+3),
.violence-rating.violence-4 .fa-hand-fist:nth-child(-n+4),
.violence-rating.violence-5 .fa-hand-fist:nth-child(-n+5) {
    color: var(--muted-tone);
}

.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(--base-color); /* dunkles Grau */
    border: none;
    padding: 0px;
}

.post_content,
.post_body {
    background-color: var(--base-color); /* passt sich an */
}

/* Text im Postinhalt */
.post_body,
.post_body * {
    color: var(--maincolor-text);
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    line-height: 1.8;
}

/* Zitat-Boxen anpassen */
blockquote {
    background-color: var(--base-color);
    border-left: 3px solid var(--muted-tone);
    color: var(--maincolor-text);;
}

/* 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-title);
    font-size: 40px;
    text-transform: lowercase !important;
    color: var(--muted-tone);
    vertical-align: top;
    text-align: left;
}

.threadsubtitle {
    height: auto;
    font-family: var(--font-title);
    font-size: 30px;
    text-transform: lowercase !important;
    margin: 10px;
    color: var(--muted-tone);
    vertical-align: top;
    text-align: left;
}

b {
    text-transform: uppercase;
    color: var(--muted-tone) !important;
    font-weight: bold;
    opacity: 0.8;
}
