/* Author bio component (media card pattern) */

.author-bio {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    margin: var(--space-12) 0;
    transition: transform var(--transition-smooth) var(--ease-smooth),
                box-shadow var(--transition-smooth) var(--ease-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: transform, box-shadow;

}

.author-bio:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--elevation-card-hover);
}

@supports (color: color-mix(in srgb, white, black)) {
    .author-bio:hover {
        background: color-mix(in srgb, var(--color-bg-secondary) 98%, var(--color-primary));
    }
}

.author-bio-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1; /* Added */
    border-radius: var(--radius-full);
    object-fit: cover;
    transition: transform var(--transition-smooth) var(--ease-smooth);
    will-change: transform;
}

.author-bio:hover .author-bio-avatar {
    transform: translate3d(0, 0, 0) scale(1.05);
}

.author-bio h3 {
    margin: 0 0 var(--space-2) 0;
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text-primary);
    transition: color var(--transition-fast) var(--ease-out);
}

.author-bio:hover h3 {
    color: var(--color-primary);
}

.author-bio p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}
