/* Shared by the home, editorial archives and individual blog articles. */
body.home-preview #page .blog-card-meta,
#page .blog-tags-preview .blog-card-meta,
#page .blog-single .blog-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 12px;
    font: 400 13px/1.4 'Fira Sans', sans-serif;
    text-align: left;
    text-transform: none;
    overflow-wrap: break-word;
}
body.home-preview #page .blog-author,
#page .blog-tags-preview .blog-author,
#page .blog-single .blog-author {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 2px 0 4px;
}
body.home-preview #page .blog-author-avatar,
#page .blog-tags-preview .blog-author-avatar,
#page .blog-single .blog-author-avatar {
    position: relative;
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #edf2f3;
    box-shadow: 0 0 0 2px rgb(255 255 255 / 80%);
}
body.home-preview #page .blog-author-avatar img,
#page .blog-tags-preview .blog-author-avatar img,
#page .blog-single .blog-author-avatar img {
    position: absolute;
    inset: 0;
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    transform: none;
}
/* Keep the local persona visible until a real photo has loaded successfully. */
body.home-preview #page .blog-author-photo,
#page .blog-tags-preview .blog-author-photo,
#page .blog-single .blog-author-photo { opacity: 0; }
body.home-preview #page .blog-author-photo.is-loaded,
#page .blog-tags-preview .blog-author-photo.is-loaded,
#page .blog-single .blog-author-photo.is-loaded { opacity: 1; }
body.home-preview #page .blog-author-name,
#page .blog-tags-preview .blog-author-name,
#page .blog-single .blog-author-name { min-width: 0; font-weight: 500; }
#page .blog-tags-preview .blog-card-meta { margin-bottom: 0; color: #fff; }
#page .blog-tags-preview .square-content-infos { z-index: 1; }
/* Fit the shade to the text height instead of darkening the entire image. */
#page .blog-tags-preview .square-content-image a::before { background: none; }
#page .blog-tags-preview .square-content-infos::before {
    content: '';
    position: absolute;
    inset: -40px -22px -22px;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 28%) 25%, rgb(0 0 0 / 64%));
}
#page .blog-tags-preview .square-content-infos { text-shadow: 0 1px 3px rgb(0 0 0 / 60%); }
