/* ============================================================
   WM AUTHOR BOX — Theme-eigene Author-Box (ersetzt PublishPress)
   @since 0.9.101
   Eigenständige CSS-Datei, wird auf Single-Posts + Author-Pages
   enqueued (siehe inc/author-box.php).
   ============================================================ */

.wm-author-box {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0 2rem;
    padding: 1.75rem 1.75rem;
    background: #fbf3eb;
    border: 1px solid #ead7c2;
    border-left: 4px solid #b8553a;
    border-radius: 10px;
    align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wm-author-box__avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #ead7c2;
}

.wm-author-box__avatar img {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.wm-author-box__body {
    flex: 1;
    min-width: 0;
}

.wm-author-box__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b8553a;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.wm-author-box__name {
    font-family: 'Perfectly Nineties', Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 0.15rem;
    line-height: 1.15;
}

.wm-author-box__name a {
    color: #1d1612;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wm-author-box__name a:hover {
    color: #b8553a;
}

.wm-author-box__role {
    font-size: 0.92rem;
    color: #4a3d33;
    margin: 0 0 0.85rem;
    font-style: italic;
}

.wm-author-box__bio {
    font-size: 0.97rem;
    line-height: 1.55;
    color: #1d1612;
    margin: 0 0 1rem;
}

/* Bottom row: "Alle Beiträge"-Button + Socials */
.wm-author-box__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.wm-author-box__all-posts {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: #b8553a;
    color: #fff !important;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.wm-author-box__all-posts:hover {
    background: #8e3e26;
    color: #fff !important;
}

.wm-author-box__socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    font-size: 0.88rem;
}

.wm-author-box__socials li {
    margin: 0 !important;
}

.wm-author-box__socials a {
    color: #b8553a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.wm-author-box__socials a:hover {
    color: #8e3e26;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .wm-author-box {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }
    .wm-author-box__avatar,
    .wm-author-box__avatar img {
        width: 80px !important;
        height: 80px !important;
    }
    .wm-author-box__name { font-size: 1.3rem; }
}

/* Compact-Variante (z. B. Sidebar) */
.wm-author-box--compact {
    padding: 1rem;
    gap: 1rem;
}
.wm-author-box--compact .wm-author-box__avatar,
.wm-author-box--compact .wm-author-box__avatar img {
    width: 64px !important;
    height: 64px !important;
}
.wm-author-box--compact .wm-author-box__name { font-size: 1.1rem; }
.wm-author-box--compact .wm-author-box__bio { font-size: 0.9rem; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
