/* Simplified Author Card - 2 Column Layout */
.author-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    position: relative;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #2563eb;
    border-radius: 12px 12px 0 0;
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.04);
}

/* Column 1: Image Section */
.author-image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.author-avatar {
    position: relative;
    display: flex;
    justify-content: center;
}

.author-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.author-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.status-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #22c55e;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.status-indicator i {
    color: white;
    font-size: 0.7rem;
}

.author-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
    border-color: #cbd5e1;
}

.stat-item i {
    color: #2563eb;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Column 2: Information Section */
.author-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.author-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.author-header h3 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    flex: 1;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #22c55e;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.verified-badge:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.verified-badge i:first-child {
    font-size: 0.9rem;
}

.verified-badge i:nth-child(2) {
    color: #fbbf24;
    font-size: 0.8rem;
}

.author-role {
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-role i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.author-description {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.expertise-section h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-section h4 i {
    color: #2563eb;
    font-size: 1rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.tag.primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.tag.primary:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.tag.secondary {
    background: #7c3aed;
    color: white;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

.tag.secondary:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.3);
}

.tag.accent {
    background: #f59e0b;
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.tag.accent:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.expertise-tags .tag i {
    font-size: 0.8rem;
}

/* Social Section */
.author-social h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-social h4 i {
    color: #2563eb;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Individual Social Icon Styles */
.social-icon.website {
    background: #2563eb;
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.social-icon.website:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.social-icon.youtube {
    background: #dc2626;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.social-icon.youtube:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.social-icon.email {
    background: #059669;
    color: white;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.social-icon.email:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
}

.social-icon.linkedin {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.2);
}

.social-icon.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.social-icon.facebook {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.2);
}

.social-icon.facebook:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.social-icon.quora {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.2);
}

.social-icon.quora:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.social-icon.medium {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.2);
}

.social-icon.medium:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.social-icon.github {
    background: #0077b5;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 119, 181, 0.2);
}

.social-icon.github:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}
/* Mobile Responsive - Stack Vertically */
@media (max-width: 768px) {
    .author-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .author-image-column {
        order: 1;
        align-items: center;
        text-align: center;
    }
    
    .author-info-column {
        order: 2;
    }
    
    .author-avatar img {
        width: 140px;
        height: 140px;
    }
    
    .author-stats {
        flex-direction: row;
        justify-content: center;
        max-width: 320px;
        gap: 0.75rem;
    }
    
    .stat-item {
        flex: 1;
        justify-content: center;
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .author-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .author-header h3 {
        font-size: 1.75rem;
    }
    
    .verified-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .author-role {
        font-size: 1.1rem;
        justify-content: center;
    }
    
    .author-description {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .expertise-tags {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .author-card {
        padding: 1.5rem;
        margin: 1.5rem 0;
        gap: 1.5rem;
    }
    
    .author-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .author-header h3 {
        font-size: 1.5rem;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 0.5rem;
        max-width: 280px;
    }
    
    .stat-item {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .expertise-tags .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
    
    .verified-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Animation Classes */
.author-card.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
.social-icon:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.verified-badge:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

.expertise-tags .tag:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}