/* Tidy Author Box Pro — Front-end styles.
 *
 * Holds every visual rule for Pro-only styles (Minimal, Banner) and the
 * archive layout. The free plugin ships none of these.
 */

/* ============================================================
   Style: Minimal (Pro)
   ============================================================ */

.apbx-style--minimal {
    border: none;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
    gap: 16px;
}

.apbx-style--minimal:hover {
    background-color: transparent;
}

.apbx-style--minimal .apbx-author-box__avatar img {
    width: 48px;
    height: 48px;
}

.apbx-style--minimal .apbx-author-box__name {
    font-size: 1em;
    font-weight: 600;
}

.apbx-style--minimal .apbx-author-box__job {
    font-size: 0.8em;
    margin-bottom: 6px;
}

.apbx-style--minimal .apbx-author-box__bio {
    font-size: 0.85em;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 8px;
}

.apbx-style--minimal .apbx-author-box__socials {
    gap: 4px;
    margin-bottom: 4px;
}

.apbx-style--minimal .apbx-social-link {
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    color: #94a3b8;
}

.apbx-style--minimal .apbx-social-link:hover {
    background: transparent;
    color: #1e293b;
    border: none;
}

.apbx-style--minimal .apbx-social-link .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

.apbx-style--minimal .apbx-social-link__icon svg {
    width: 14px;
    height: 14px;
}

.apbx-style--minimal .apbx-author-box__all-posts {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

/* ============================================================
   Style: Banner (Pro)
   ============================================================ */

.apbx-style--banner {
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 32px 32px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #f8fafc;
    border: none;
}

.apbx-style--banner .apbx-author-box__avatar {
    margin-top: -20px;
}

.apbx-style--banner .apbx-author-box__avatar img {
    width: 100px;
    height: 100px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.apbx-style--banner .apbx-author-box__name {
    color: #fff;
}

.apbx-style--banner .apbx-author-box__job {
    color: #94a3b8;
}

.apbx-style--banner .apbx-author-box__bio {
    color: #cbd5e1;
}

.apbx-style--banner .apbx-author-box__socials {
    justify-content: center;
}

.apbx-style--banner .apbx-social-link {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.apbx-style--banner .apbx-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.apbx-style--banner .apbx-author-box__all-posts {
    color: #93c5fd;
}

.apbx-style--banner .apbx-author-box__all-posts:hover {
    color: #bfdbfe;
}

/* ============================================================
   Archive layout — flat, full-width, no card chrome
   ============================================================ */

.apbx-archive-wrap {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
}

.apbx-style--archive {
    width: 100%;
    max-width: none !important;
    margin: 0 0 1.5rem;
    padding: 0 0 2rem;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--apbx-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.apbx-style--archive:hover {
    background: none;
}

.apbx-archive-wrap .apbx-archive-posts-heading {
    margin: 2.5rem 0 1.25rem;
    font-size: 1.75em;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
}
