/* ========================================
   投稿者情報（components.post-author）
   ストーリー詳細・ポートフォリオ詳細で共通
   ======================================== */
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
}

a.post-author:hover {
    opacity: 0.8;
}

.post-author__avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.post-author__nickname {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-author__date {
    font-size: 11px;
    line-height: 1;
    color: var(--fontgray);
}

@media (max-width: 768px) {
    .post-author {
        gap: 8px;
    }
    .post-author__avatar {
        width: 28px;
        height: 28px;
    }
    .post-author__text {
        gap: 4px;
    }
    .post-author__nickname {
        font-size: 13px;
    }
    .post-author__date {
        font-size: 12px;
    }
}
