/* Pango Authors · firma bonita por autor
   Compatible con pango-theme-press y cualquier theme que uses. */

.pango-author {
    --pa-bg: #fafafa;
    --pa-fg: #1a1a1a;
    --pa-muted: #666;
    --pa-accent: #c0352c;        /* rojo VICE, cambia si el tema lo pide */
    --pa-accent-soft: #fce8e6;
    --pa-border: #e0e0e0;
    --pa-seal: #a6894a;          /* bronce pangolín */

    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: flex-start;
    background: var(--pa-bg);
    border: 1px solid var(--pa-border);
    border-radius: 6px;
    padding: 18px 20px;
    margin: 1.5em 0 2em;
    font-family: inherit;
    color: var(--pa-fg);
    line-height: 1.5;
    font-size: 0.94rem;
    box-sizing: border-box;
}

.pango-author * { box-sizing: border-box; }

.pango-author__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--pa-border);
    flex-shrink: 0;
}
.pango-author__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pango-author__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pango-author__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}
.pango-author__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pa-muted);
    font-weight: 600;
    display: block;
    flex-basis: 100%;
    margin-bottom: -4px;
}
.pango-author__name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--pa-fg);
}
.pango-author__job {
    font-size: 0.9rem;
    color: var(--pa-muted);
    font-weight: 500;
}
.pango-author__seal {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--pa-seal);
    background: rgba(166, 137, 74, 0.08);
    border: 1px solid rgba(166, 137, 74, 0.22);
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: auto;
    white-space: nowrap;
}

.pango-author__creds {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pango-author__creds li {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--pa-fg);
    background: var(--pa-accent-soft);
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.01em;
}

.pango-author__bio {
    margin: 4px 0;
    color: var(--pa-fg);
    font-size: 0.92rem;
    line-height: 1.55;
}

.pango-author__links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 2px 0 0;
    padding: 0;
    font-size: 0.85rem;
}
.pango-author__links li {
    position: relative;
    padding-left: 0;
}
.pango-author__links li:not(:first-child)::before {
    content: '·';
    position: absolute;
    left: -10px;
    top: 0;
    color: var(--pa-muted);
}
.pango-author__links a {
    color: var(--pa-accent);
    text-decoration: none;
    font-weight: 500;
}
.pango-author__links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Variante oscura automática si el theme tiene body.is-dark, clases dark, etc. */
body.is-dark .pango-author,
body.theme-dark .pango-author,
body[data-theme="dark"] .pango-author {
    --pa-bg: #1b1b1b;
    --pa-fg: #f1f1f1;
    --pa-muted: #a0a0a0;
    --pa-accent-soft: rgba(192, 53, 44, 0.15);
    --pa-border: #2a2a2a;
}

/* Responsive */
@media (max-width: 600px) {
    .pango-author {
        grid-template-columns: 72px 1fr;
        gap: 14px;
        padding: 14px 16px;
    }
    .pango-author__photo { width: 72px; height: 72px; }
    .pango-author__seal { margin-left: 0; margin-top: 2px; }
    .pango-author__name { font-size: 1.05rem; }
}

/* Print */
@media print {
    .pango-author { background: none; border-top: 1px solid #000; border-radius: 0; padding: 8px 0; }
    .pango-author__links { display: none; }
}
