/**
 * 13Node Mini Bio - Styles
 * Author: 13Node
 * URL: https://13node.com
 */

/* ============================================
   Mini Bio - Base Styles
   ============================================ */

.tnpc-mini-bio {
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.tnpc-mini-bio-inner {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.tnpc-mini-bio-inner:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Avatar
   ============================================ */

.tnpc-mini-bio-avatar {
    flex-shrink: 0;
}

.tnpc-mini-bio-avatar a {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tnpc-mini-bio-avatar a:hover {
    transform: scale(1.05);
}

.tnpc-mini-bio-avatar img {
    border-radius: 50%;
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* ============================================
   Content
   ============================================ */

.tnpc-mini-bio-content {
    flex: 1;
    min-width: 0;
}

.tnpc-mini-bio-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.tnpc-mini-bio-name a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tnpc-mini-bio-name a:hover {
    color: #667eea;
}

.tnpc-mini-bio-title {
    margin: 0 0 0.75rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tnpc-mini-bio-description {
    margin: 0 0 1rem 0;
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   Social Links
   ============================================ */

.tnpc-mini-bio-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tnpc-mini-bio-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f7fafc;
    color: #4a5568;
    transition: all 0.3s ease;
}

.tnpc-mini-bio-social a:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   Profile Link
   ============================================ */

.tnpc-mini-bio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.2s ease;
}

.tnpc-mini-bio-link:hover {
    color: #764ba2;
    gap: 0.75rem;
}

.tnpc-mini-bio-link svg {
    transition: transform 0.3s ease;
}

.tnpc-mini-bio-link:hover svg {
    transform: translateX(3px);
}

/* ============================================
   Style: Compact
   ============================================ */

.tnpc-mini-bio-compact .tnpc-mini-bio-inner {
    padding: 1.25rem;
    gap: 1rem;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-avatar img {
    width: 60px;
    height: 60px;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-title {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-description {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-social {
    margin-bottom: 0.75rem;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-social a {
    width: 32px;
    height: 32px;
}

.tnpc-mini-bio-compact .tnpc-mini-bio-social svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Style: Card (para sidebar)
   ============================================ */

.tnpc-mini-bio-card .tnpc-mini-bio-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
}

.tnpc-mini-bio-card .tnpc-mini-bio-avatar {
    margin: 0 auto;
}

.tnpc-mini-bio-card .tnpc-mini-bio-avatar img {
    width: 100px;
    height: 100px;
}

.tnpc-mini-bio-card .tnpc-mini-bio-social {
    justify-content: center;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 640px) {
    .tnpc-mini-bio-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .tnpc-mini-bio-avatar {
        margin: 0 auto;
    }
    
    .tnpc-mini-bio-name {
        font-size: 1.25rem;
    }
    
    .tnpc-mini-bio-social {
        justify-content: center;
    }
}

/* ============================================
   Custom Colors (aplicados desde settings)
   ============================================ */

/* Estos se sobrescriben con CSS inline desde las opciones */
.tnpc-mini-bio-title,
.tnpc-mini-bio-name a:hover,
.tnpc-mini-bio-link {
    /* color será sobrescrito */
}

.tnpc-mini-bio-social a:hover {
    /* background será sobrescrito */
}

