/**
 * Author Bio Box Styles
 */

.aa-author-bio-box {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aa-author-bio-header h3 {
    margin: 0 0 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.aa-author-bio-header h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.aa-author-bio-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.aa-author-avatar {
    flex: 0 0 100px;
}

.aa-author-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.aa-author-info {
    flex: 1;
    min-width: 0;
}

.aa-author-info h4 {
    margin: 0 0 0.75rem;
    color: #1a1a1a;
    font-size: 1.25rem;
}

.aa-author-bio {
    margin-bottom: 1.25rem;
    color: #444;
    line-height: 1.7;
}

.aa-author-bio p:first-child {
    margin-top: 0;
}

.aa-author-bio p:last-child {
    margin-bottom: 0;
}

.aa-latest-articles {
    margin: 1.5rem 0;
}

.aa-latest-articles h5 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #2c3e50;
}

.aa-latest-articles ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aa-latest-articles li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.aa-latest-articles li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
}

.aa-latest-articles a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.aa-latest-articles a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.aa-view-all-posts {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e0e0;
}

.aa-view-all-posts a {
    display: inline-block;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.aa-view-all-posts a:hover {
    color: #3498db;
}

.aa-view-all-posts a:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.aa-view-all-posts a:hover:after {
    transform: translateX(3px);
}

/* Responsive styles */
@media (max-width: 600px) {
    .aa-author-bio-content {
        flex-direction: column;
    }
    
    .aa-author-avatar {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .aa-author-avatar,
    .aa-author-avatar img {
        margin: 0 auto;
    }
    
    .aa-author-bio-box {
        padding: 1.5rem;
    }
}
