/**
 * Wrapper
 */

.postMetaInfo__authorWrapper {
    display: grid;
    align-items: center;
    gap: var(--marginExtraSmall);
}

/*
 * Images
 */

.postMetaInfo__authorImages {
    display: flex;
    align-items: center;
}

.weblogPost .postMetaInfo__authorImages {
    justify-content: center;
}

.postMetaInfo__authorImage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    overflow: clip;
    border-radius: 50%;
    background-color: var(--baseDark300);
    border: 2px solid var(--baseLight100);
    box-sizing: content-box;
    aspect-ratio: 1;
}

.postMetaInfo__authorImage + .postMetaInfo__authorImage {
    margin-left: -16px;
}

.postMetaInfo__authorImage.--fallback,
.postMetaInfo__authorImage.--extra {
    color: var(--baseLight100);
    background-color: var(--baseDark100);
}

.postMetaInfo__authorImage.--fallback::before {
    margin-right: 0;
}

.postMetaInfo__authorImage.--extra {
    background-color: rgba(0,0,0,.7);
}

/**
 * Names
 */

.postMetaInfo__authorNames {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: var(--labelSize);
    font-weight: 600;
}

/**
 * Media queries
 */

@media (min-width: 568px) {
    .postMetaInfo__authorWrapper {
        grid-template-columns: auto 1fr;
    }

    .postMetaInfo__inner {
        text-align: left;
    }
}
