/* ==================================================================
NCP AUTHOR BOX – Division of North Central Positronics™
Autorenbox: redaktionelle Signaturkarte, typografisch am Beitrag ausgerichtet.
================================================================== */

.ncpab-author-box {
    margin: 34px 0 28px;
    padding: 0;
    clear: both;
}

.ncpab-author-box-inner {
    position: relative;
    padding: 26px 32px 24px;
    border: 1px solid var(--ncpab-border, rgba(127,127,127,.24));
    border-top: 3px solid var(--ncpab-accent, #d71920);
    background: var(--ncpab-author-box-bg, transparent);
    color: var(--ncpab-author-box-text, inherit);
}

.ncpab-author-box-main {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.ncpab-author-box-figure {
    margin: 0;
}

.ncpab-author-box-image,
.ncpab-author-box-figure img,
.ncpab-author-box-figure .avatar {
    width: 124px;
    height: 124px;
    max-width: 124px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid var(--ncpab-accent, #d71920);
}


.ncpab-author-box-content,
.ncpab-author-box-bio,
.ncpab-author-box-claim {
    font-size: inherit;
}

.ncpab-author-box-kicker {
    margin: 0 0 3px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ncpab-accent, #d71920);
}

.ncpab-author-box-name {
    margin: 0;
    font-size: clamp(1.75em, 2.1vw, 2.35em);
    line-height: 1.08;
    font-weight: 800;
    color: inherit;
}

.ncpab-author-box-subtitle {
    margin: 5px 0 18px;
    opacity: .78;
    font-size: 1.08em;
    line-height: 1.32;
}

.ncpab-author-box-bio {
    margin: 0 0 16px;
    font-size: inherit;
    line-height: inherit;
}

.ncpab-author-box-bio p {
    margin-top: 0;
    margin-bottom: .7em;
}

.ncpab-author-box-bio p:last-child {
    margin-bottom: 0;
}

.ncpab-author-box-claim {
    margin: 14px 0 0;
    padding: 3px 0 3px 18px;
    border-left: 4px solid var(--ncpab-accent, #d71920);
    font-style: italic;
    opacity: .92;
    line-height: inherit;
}

.ncpab-author-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ncpab-border, rgba(127,127,127,.22));
}

.ncpab-author-box-follow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

.ncpab-author-box-follow-label {
    font-size: .92em;
    opacity: .88;
    white-space: nowrap;
}

.ncpab-author-box-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ncpab-author-box-social {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--ncpab-border, rgba(127,127,127,.32));
    color: currentColor;
    text-decoration: none;
    background: rgba(127,127,127,.08);
}

.ncpab-author-box-social:hover,
.ncpab-author-box-contact:hover,
.ncpab-author-box-all-posts:hover {
    color: var(--ncpab-accent, #d71920);
    text-decoration: none;
}

.ncpab-author-box-social svg,
.ncpab-author-box-contact svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ncpab-author-box-divider {
    display: inline-block;
    width: 1px;
    height: 26px;
    background: var(--ncpab-border, rgba(127,127,127,.32));
}

.ncpab-author-box-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    color: var(--ncpab-accent, #d71920);
    text-decoration: none;
    font-weight: 700;
    font-size: .92em;
    line-height: 1;
}

.ncpab-author-box-contact-text {
    font-size: .92em;
    opacity: .85;
}

.ncpab-author-box-all-posts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid var(--ncpab-accent, #d71920);
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    font-size: .86em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

.ncpab-author-box-all-posts span {
    color: var(--ncpab-accent, #d71920);
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 780px) {
    .ncpab-author-box-inner {
        padding: 22px 20px;
    }

    .ncpab-author-box-main {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .ncpab-author-box-figure {
        display: flex;
        justify-content: center;
    }

    .ncpab-author-box-claim {
        text-align: left;
    }

    .ncpab-author-box-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ncpab-author-box-follow {
        justify-content: center;
    }

    .ncpab-author-box-all-posts {
        width: 100%;
    }
}

/* Author archive: Autorenbox in strukturierter Author-Seite. */
body.ncpab-author-archive-box-active .entry-header-details .page-title:empty,
body.ncpab-author-archive-box-active .page-title:empty {
    display: none;
}

body.ncpab-author-archive-box-active .archive-description .ncpab-author-box {
    margin-top: 0;
}

body.ncpab-author-archive-box-active .archive-description {
    margin-bottom: 28px;
}

/* v0.2.6: Author-Archiv erbt gern zu viel Fett vom Theme. Das hier setzt die Box wieder auf Normalgewicht. */
.ncpab-author-box,
.ncpab-author-box-content,
.ncpab-author-box-subtitle,
.ncpab-author-box-bio,
.ncpab-author-box-bio p,
.ncpab-author-box-bio div,
.ncpab-author-box-bio span,
.ncpab-author-box-claim,
.ncpab-author-box-follow,
.ncpab-author-box-contact,
.ncpab-author-box-contact-text {
    font-weight: 400;
}

.ncpab-author-box strong,
.ncpab-author-box b {
    font-weight: 700;
}

.ncpab-author-box-kicker,
.ncpab-author-box-name,
.ncpab-author-box-all-posts {
    font-weight: 800;
}

body.ncpab-author-archive-box-active .archive-description .ncpab-author-box,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-content,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-subtitle,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-bio,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-bio p,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-bio div,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-bio span,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-claim,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-follow,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-contact,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-contact-text {
    font-weight: 400 !important;
}

body.ncpab-author-archive-box-active .archive-description .ncpab-author-box strong,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box b {
    font-weight: 700 !important;
}

body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-kicker,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-name,
body.ncpab-author-archive-box-active .archive-description .ncpab-author-box-all-posts {
    font-weight: 800 !important;
}
