/* =========================================================
   GOLDEN DAYS POSTBIT V3
   RPG-Postlayout mit Bildbühne, Moodbild, Hover und Signatur
   ========================================================= */

.gd-post-v3,
.gd-post-v3 *,
.gd-author-v3,
.gd-author-v3 * {
    box-sizing: border-box;
    border-radius: 0;
}

.gd-post-v3 {
    --gd-dark: var(--rpg-dark, #1c2b31);
    --gd-dark-2: var(--rpg-dark-2, #142025);
    --gd-paper: var(--rpg-paper, #f7f6f2);
    --gd-paper-2: var(--rpg-paper-2, #ece8df);
    --gd-brick: var(--rpg-brick, #732C26);
    --gd-gold: var(--rpg-gold, #D5AA43);

    --gd-text: rgba(28,43,49,.78);
    --gd-muted: rgba(28,43,49,.50);
    --gd-line: rgba(28,43,49,.14);
    --gd-line-soft: rgba(28,43,49,.08);

    position: relative;
    width: 100%;
    margin: 0 0 26px 0;

    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);

    border: 1px solid var(--gd-line);
    background:
        linear-gradient(90deg, rgba(255,255,255,.42), rgba(236,232,223,.30)),
        rgba(247,246,242,.62);

    box-shadow:
        0 18px 38px rgba(28,43,49,.085);

    overflow: hidden;
    color: var(--gd-text);
    font-family: Arial, Helvetica, sans-serif;
}

/* feines Hintergrundraster */

.gd-post-v3::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(90deg, rgba(28,43,49,.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(28,43,49,.018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .45;
}

/* =========================================================
   LINKER AUTORENBEREICH
   ========================================================= */

.gd-post-v3__author {
    position: relative;
    z-index: 1;

    min-width: 0;
    padding: 18px;

    border-right: 1px solid var(--gd-line);
    background:
        linear-gradient(180deg, rgba(28,43,49,.060), rgba(255,255,255,.13));
}

.gd-author-v3 {
    display: grid;
    gap: 16px;
}

/* =========================================================
   BILDBÜHNE LINKS
   ========================================================= */

.gd-author-v3__visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;

    border: 1px solid rgba(28,43,49,.14);
    background:
        linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.06)),
        rgba(247,246,242,.38);

    box-shadow:
        10px 10px 0 rgba(28,43,49,.045);
}

/* Moodbild / Hintergrund */

.gd-author-v3__mood {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gd-author-v3__mood img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    filter: blur(9px) saturate(.82) contrast(1.05);
    transform: scale(1.10);
    opacity: .34;

    transition:
        opacity .28s ease,
        transform .28s ease;
}

/* dunkler linker Block wie Teamkarte */

.gd-author-v3__visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;

    width: 43%;
    background:
        linear-gradient(180deg, var(--gd-dark), var(--gd-dark-2));

    opacity: .96;
    z-index: 1;
}

/* feine Goldlinien */

.gd-author-v3__visual::after {
    content: "";
    position: absolute;
    inset: 22px;

    border: 1px solid rgba(213,170,67,.42);
    border-right-color: rgba(247,246,242,.18);
    border-bottom-color: rgba(247,246,242,.18);

    z-index: 3;
    pointer-events: none;
}

/* Hauptportrait */

.gd-author-v3__portrait {
    position: absolute;
    z-index: 4;

    left: 42px;
    right: 25px;
    top: 62px;
    bottom: 38px;

    padding: 7px;

    border: 1px solid rgba(247,246,242,.72);
    outline: 1px solid rgba(28,43,49,.24);
    outline-offset: 5px;

    background: rgba(255,255,255,.34);

    box-shadow:
        14px 14px 0 rgba(28,43,49,.20),
        -8px -8px 0 rgba(247,246,242,.35),
        0 22px 36px rgba(28,43,49,.22);

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.gd-author-v3__portrait img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    filter: saturate(.95) contrast(1.04);
}

/* runder Avatar */

.gd-author-v3__avatar {
    position: absolute;
    z-index: 7;

    left: 22px;
    top: 21px;

    width: 76px;
    height: 76px;

    overflow: hidden;

    border: 4px solid var(--gd-paper);
    background: #fff;

    box-shadow:
        0 12px 24px rgba(28,43,49,.18);
}

.gd-author-v3__avatar img,
.gd-author-v3__avatar-img {
    width: 76px;
    height: 76px;
    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}

/* Online unten auf dem Bild */

.gd-author-v3__online {
    position: absolute;
    z-index: 8;
    left: 34px;
    bottom: 22px;
}

/* Hovereffekt */

.gd-post-v3:hover .gd-author-v3__portrait {
    transform: translate(-4px, -4px);

    box-shadow:
        18px 18px 0 rgba(28,43,49,.22),
        -8px -8px 0 rgba(247,246,242,.44),
        0 28px 42px rgba(28,43,49,.24);
}

.gd-post-v3:hover .gd-author-v3__mood img {
    transform: scale(1.16);
    opacity: .44;
}

/* =========================================================
   ONLINE STATUS
   ========================================================= */

.gd-author-v3-status {
    min-height: 26px;
    padding: 6px 10px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 1px solid rgba(213,170,67,.38);
    background: rgba(247,246,242,.88);

    color: rgba(28,43,49,.65);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;

    box-shadow: 6px 6px 0 rgba(28,43,49,.07);
}

.gd-author-v3-status::before {
    content: "";
    width: 7px;
    height: 7px;
    display: block;
    background: rgba(28,43,49,.28);
}

.gd-author-v3-status--online::before {
    background: var(--gd-dark);
}

.gd-author-v3-status--offline::before {
    background: rgba(28,43,49,.26);
}

.gd-author-v3-status--away::before {
    background: var(--gd-gold);
}

/* =========================================================
   IDENTITÄT
   ========================================================= */

.gd-author-v3__identity {
    position: relative;

    padding: 0 0 0 14px;
    border-left: 2px solid rgba(28,43,49,.18);
}

.gd-author-v3__identity span {
    display: block;
    margin: 0 0 6px 0;

    color: rgba(28,43,49,.46);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gd-author-v3__identity strong,
.gd-author-v3__identity strong a,
.gd-author-v3__identity a {
    color: var(--gd-dark);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: .04em;
    text-decoration: none;
}

.gd-author-v3__identity a:hover {
    color: var(--gd-brick);
}

.gd-author-v3__identity em {
    display: block;
    margin-top: 6px;

    color: rgba(28,43,49,.50);
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* =========================================================
   FAKTEN
   ========================================================= */

.gd-author-v3__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.gd-author-v3__fact {
    position: relative;

    min-height: 60px;
    padding: 10px 10px 9px 32px;

    border: 1px solid rgba(28,43,49,.10);
    background: rgba(255,255,255,.18);
}

.gd-author-v3__fact::before {
    position: absolute;
    left: 11px;
    top: 50%;

    color: rgba(28,43,49,.52);
    font-size: 12px;
    line-height: 1;

    transform: translateY(-50%);
}

.gd-author-v3__fact--age::before {
    content: "♧";
}

.gd-author-v3__fact--job::before {
    content: "▣";
}

.gd-author-v3__fact--home::before {
    content: "⌖";
}

.gd-author-v3__fact--status::before {
    content: "♡";
}

.gd-author-v3__fact span,
.gd-author-v3__stats span {
    display: block;
    margin: 0 0 4px 0;

    color: rgba(28,43,49,.45);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gd-author-v3__fact strong,
.gd-author-v3__stats strong {
    color: var(--gd-dark);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

/* Stats */

.gd-author-v3__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border: 1px solid rgba(28,43,49,.10);
    background: rgba(255,255,255,.15);
}

.gd-author-v3__stats div {
    padding: 9px 10px;
    border-left: 1px solid rgba(28,43,49,.08);
}

.gd-author-v3__stats div:first-child {
    border-left: 0;
}

/* Gruppenbild */

.gd-author-v3__group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gd-author-v3__group img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   RECHTER BEITRAGSBEREICH
   ========================================================= */

.gd-post-v3__article {
    position: relative;
    z-index: 1;

    min-width: 0;

    display: grid;
    grid-template-rows: auto minmax(370px, auto) auto auto;

    background:
        linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}

.gd-post-v3__article::after {
    content: "";
    position: absolute;
    right: 0;
    top: 56px;
    bottom: 118px;

    width: 220px;

    background:
        linear-gradient(90deg, rgba(247,246,242,0), rgba(247,246,242,.50)),
        var(--gd-post-mood, none);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    opacity: .20;
    pointer-events: none;
}

/* Header rechts */

.gd-post-v3__head {
    min-height: 56px;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    border-bottom: 1px solid var(--gd-line-soft);
    background:
        linear-gradient(90deg, rgba(28,43,49,.050), rgba(255,255,255,.16));
}

.gd-post-v3__date span {
    display: block;
    margin: 0 0 4px 0;

    color: rgba(28,43,49,.45);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gd-post-v3__date strong {
    display: block;

    color: var(--gd-dark);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.gd-post-v3-url {
    min-height: 30px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(28,43,49,.14);
    background: rgba(255,255,255,.22);

    color: var(--gd-dark);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-decoration: none;
}

.gd-post-v3-url:hover {
    background: var(--gd-dark);
    color: var(--gd-paper);
}

/* Beitragstext */

.gd-post-v3__content {
    position: relative;
    z-index: 2;

    min-height: 390px;
    padding: 28px 30px;

    color: rgba(28,43,49,.78);
    font-size: 13px;
    line-height: 1.9;
}

.gd-post-v3__content p {
    margin: 0 0 1em 0;
}

.gd-post-v3__content a {
    color: var(--gd-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(28,43,49,.16);
}

.gd-post-v3__content a:hover {
    color: var(--gd-brick);
    border-bottom-color: rgba(115,44,38,.34);
}

.gd-post-v3__content img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   SIGNATUR MIT BILD
   ========================================================= */

.gd-post-v3-signature {
    position: relative;
    z-index: 2;

    margin: 0 30px 22px 30px;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr);

    border: 1px solid rgba(28,43,49,.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.08)),
        rgba(247,246,242,.30);

    overflow: hidden;
}

.gd-post-v3-signature--textonly {
    display: block;
}

.gd-post-v3-signature__image {
    min-height: 120px;
    border-right: 1px solid rgba(28,43,49,.10);
    overflow: hidden;
}

.gd-post-v3-signature__image img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: block;

    object-fit: cover;
    object-position: center;

    filter: saturate(.90) contrast(1.04);
}

.gd-post-v3-signature__text {
    padding: 15px 17px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gd-post-v3-signature__text span {
    display: block;
    margin: 0 0 8px 0;

    color: var(--gd-dark);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.gd-post-v3-signature__body {
    color: rgba(28,43,49,.62);
    font-size: 11px;
    line-height: 1.65;
}

.gd-post-v3-signature__body img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   FOOTER / BUTTONS
   ========================================================= */

.gd-post-v3__footer {
    position: relative;
    z-index: 2;

    padding: 13px 18px;

    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;

    border-top: 1px solid var(--gd-line-soft);
    background: rgba(255,255,255,.16);
}

.gd-post-v3__contact,
.gd-post-v3__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gd-post-v3-btn {
    min-height: 30px;
    padding: 0 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 1px solid rgba(28,43,49,.16);
    background: rgba(255,255,255,.20);

    color: var(--gd-dark) !important;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.gd-post-v3-btn:hover {
    border-color: rgba(28,43,49,.34);
    background: var(--gd-dark);
    color: var(--gd-paper) !important;
    transform: translateY(-1px);
}

.gd-post-v3-btn--dark,
.gd-post-v3-btn--contact {
    background: var(--gd-dark);
    border-color: var(--gd-dark);
    color: var(--gd-paper) !important;
}

.gd-post-v3-btn--dark:hover,
.gd-post-v3-btn--contact:hover {
    background: var(--gd-brick);
    border-color: var(--gd-brick);
    color: #fff !important;
}

/* kleine Button-Icons ohne FontAwesome */

.gd-post-v3-btn[href*="private"]::before {
    content: "✉";
}

.gd-post-v3-btn[href*="emailuser"]::before {
    content: "✉";
}

.gd-post-v3-btn[href*="search"]::before {
    content: "⌕";
}

.gd-post-v3-btn[href*="editpost"]::before {
    content: "✎";
}

.gd-post-v3-btn[href*="report"]::before {
    content: "!";
}

.gd-post-v3-btn[href*="newreply"]::before {
    content: "❞";
}

/* Inlinecheck */

.gd-post-v3-inlinecheck {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   ALTE MYBB-RESTE ENTSCHÄRFEN
   ========================================================= */

.gd-post-v3 .post_author,
.gd-post-v3 .post_content,
.gd-post-v3 .post_body,
.gd-post-v3 .post_controls,
.gd-post-v3 .author_statistics,
.gd-post-v3 .postbit_profile,
.gd-post-v3 .profile_fields {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.gd-post-v3 .star_rating,
.gd-post-v3 .userstar,
.gd-post-v3 img[src*="star"],
.gd-author-v3 img[src*="star"] {
    display: none !important;
}

/* kaputte leere Bilder ausblenden */

.gd-author-v3__portrait img[src=""],
.gd-author-v3__mood img[src=""],
.gd-post-v3-signature__image img[src=""] {
    display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1050px) {
    .gd-post-v3 {
        grid-template-columns: 1fr;
    }

    .gd-post-v3__author {
        border-right: 0;
        border-bottom: 1px solid var(--gd-line);
    }

    .gd-author-v3__visual {
        min-height: 330px;
    }

    .gd-author-v3__portrait {
        left: 70px;
        right: 70px;
    }

    .gd-post-v3__head,
    .gd-post-v3__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .gd-post-v3__content {
        min-height: 0;
        padding: 22px;
    }

    .gd-post-v3-signature {
        margin: 0 22px 22px 22px;
    }
}

@media screen and (max-width: 620px) {
    .gd-post-v3__author {
        padding: 14px;
    }

    .gd-author-v3__visual {
        min-height: 285px;
    }

    .gd-author-v3__portrait {
        left: 42px;
        right: 28px;
        top: 58px;
        bottom: 28px;
    }

    .gd-author-v3__facts {
        grid-template-columns: 1fr;
    }

    .gd-author-v3__stats {
        grid-template-columns: 1fr;
    }

    .gd-author-v3__stats div {
        border-left: 0;
        border-top: 1px solid rgba(28,43,49,.08);
    }

    .gd-author-v3__stats div:first-child {
        border-top: 0;
    }

    .gd-post-v3-signature {
        grid-template-columns: 1fr;
    }

    .gd-post-v3-signature__image {
        border-right: 0;
        border-bottom: 1px solid rgba(28,43,49,.10);
    }
}