.author-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #007bff), var(--secondary, #6c757d));
}

.author-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--black, #333);
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary, #666);
    margin: 0 0 1rem 0;
}

.author-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.author-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--text-secondary, #666);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--primary, #007bff);
}

.author-social-icon {
    width: 18px;
    height: 18px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        align-self: center;
    }
    
    .author-image img {
        width: 100px;
        height: 100px;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .author-box {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .author-image img {
        width: 80px;
        height: 80px;
    }
}
