.postbit {
    margin: 0 0 40px 0;
    overflow: visible;
}

.postbit-inner {
    display: flex;
    align-items: stretch;
    gap: 20px;
    position: relative;
    overflow: visible;
}

.postbit-col-1 {
    flex: 0 0 260px;
}

.postbit-col-2 {
    flex: 1 1 auto;
    min-width: 0;
}

.postbit-col-3 {
    flex: 0 0 50px;
    padding-top: 140px;
}

.postbit-col {
    display: flex;
    flex-direction: column;
    position: relative;
}

.poster-sticky {
    position: sticky;
    top: 75px;
}

.poster-top {
    position: relative;
    height: 100px;
    padding: 10px 10px 0;
	background-image:url(https://witcherverse-rpg.de/images/design/nilfgaard/post.png);
	background-blend-mode: hard-light;
	background-position:center;
    box-sizing: border-box;
    overflow: visible;
}

/* Checkbox unsichtbar machen */
.info-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.info-toggle:hover {
    background: var(--btn-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-1px);
}

/* WENN Checkbox gecheckt → Box anzeigen */
.info-toggle-checkbox:checked ~ .poster-info-box {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.info-toggle {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 32px;
    height: 32px;
	display:flex;
	justify-content: center;
	align-items:center;
    background: var(--btn-bg);
    color: var(--text-color);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.innfo-toggle:hover {
    background: var(--btn-bg-hover);
    border-color: var(--border-accent);
    transform: translateY(-1px);
}

.poster-info-box {
    position: absolute;
	display:flex;
	flex-direction: column;
	justify-content: space-evenly;
	gap:3px;
    top: 10px;
    left: 10px;
    width: 240px;
    max-width: calc(100vw - 40px);
    padding: 10px 12px;
    box-sizing: border-box;
    background: var(--bg-color);
    border: 1px solid var(--border-accent-50);
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-color);
    z-index: 5;
    box-shadow: var(--shadow-soft);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease-out;
}


/*.info-toggle:hover + .poster-info-box,
.info-toggle:focus-visible + .poster-info-box {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}*/

.poster-info-box.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.poster-avatar-wrap {
    position: absolute;
    left: 50%;
    top: 50%;          
    width: 100px;
    height: 100px;
    transform-origin: center;
}

.poster-avatar-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.poster-meta {
	position:relative;
    padding: 90px 10px 10px;
    font-size: 11px;
    line-height: 1.4;
	min-height:50px;
    background: var(--bg-alt-50);
    color: var(--text-color);
    border: 1px solid var(--border-color-50);
    border-top: none;
    box-shadow: var(--shadow-soft);
}

.poster-meta h6 {
    position:absolute;
	font-size: 75px;
	height: 50px;
	width:240px;
	font-family: 'Scotland';
	font-weight: normal;
	text-align: center;
	text-transform: lowercase;
	bottom: 35px;
}

.post-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
    padding: 15px 20px;
    box-sizing: border-box;
    background: var(--bg-color-75);
    border: 1px solid var(--border-color-50);
    border-bottom: none;
    box-shadow: var(--shadow-soft);
}

.post-username {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-bright);
}

.post-username h6 {
	position:absolute;
	font-size: 125px;
	font-family: 'Scotland';
	font-weight: normal;
	text-align: left;
	text-transform: lowercase;
	bottom: -25px;
}

.post-usertitle {
	position:absolute;
    font-size: 10px;
    letter-spacing: 1px;
	font-weight:bold;
    opacity: 0.75;
    color: var(--text-muted);
	bottom: 10px;
}

.post-date {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0.75;
    color: var(--text-muted);
}

.post-header-avatar {
    width: 120px;
    height: 100px;
    box-sizing: border-box;
    border: 2px solid var(--border-accent);
    outline: 2px solid var(--bg-color);
    outline-offset: 3px;
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: var(--shadow-strong);
}

.post-header-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    padding: 20px;
    box-sizing: border-box;
    background: var(--bg-alt-75);
    border: 1px solid var(--border-color-50);
    border-top: none;
    font-size: 13px;
    text-align: justify;
    letter-spacing: 1px;
    line-height: 1.3;
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
}

.post_edit {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    opacity: 0.7;
    color: var(--text-muted);
}

.actions-sticky {
    position: sticky;
    top: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.postbit-col-3 .post-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.postbit-col-3 .post-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0;
    text-decoration: none;
}

.postbit-col-3 .post-actions > a i {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.postbit-col-3 .post-actions > a:hover i {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.postbit-col-3 .post-actions > a:focus i,
.postbit-col-3 .post-actions > a.active i {
    color: var(--accent);
}

.post-number {
    width: 50px;
    height: 50px;
    background: var(--text-bright);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin-top: auto;
}

@media (max-width: 900px) {
    .postbit-inner {
        flex-direction: column;
    }

    .postbit-col-3 {
        padding-top: 0;
    }

    .poster-sticky,
    .actions-sticky {
        position: static;
    }

    .post-header {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .post-header-avatar {
        align-self: flex-end;
    }
}
