/* Only local avatar images. Article illustrations and other photos are unaffected. */
:is(.post-author__avatar, .about-author_avatar) img.avatar[src*="/nego-local-avatars/assets/"] {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.about-author_avatar img.avatar[src*="/nego-local-avatars/assets/"] {
    width: 128px !important;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
}
.post-author__avatar:has(img[src*="/nego-local-avatars/assets/"]) {
    width: 96px;
    max-width: 100%;
    margin-right: 24px;
}
.post-author__avatar img.avatar[src*="/nego-local-avatars/assets/"] {
    width: 96px !important;
    height: auto !important;
    display: block;
}
@media (max-width: 600px) {
    .about-author_avatar img.avatar[src*="/nego-local-avatars/assets/"] { width: 112px !important; }
    .post-author__avatar:has(img[src*="/nego-local-avatars/assets/"]) { width: 80px; margin-right: 16px; }
    .post-author__avatar img.avatar[src*="/nego-local-avatars/assets/"] { width: 80px !important; }
}

/* Also hide any cached or third-party toolbar avatar, on the site and in wp-admin. */
#wpadminbar img.avatar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
#wpadminbar #wp-admin-bar-user-actions { margin-left: 0; }
#wpadminbar #wp-admin-bar-user-info { min-height: 0; }
