@charset 'utf-8';
@use '../global' as *;

/* 著者カード
---------------------------------------------*/
.author-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(1rem + 1vmin);
	padding: calc(1rem + 1vmin);
	border: var(--content-border);
	background: #fff;
	@include mq('sm', '>=') {
		flex-direction: row;
		align-items: flex-start;
	}

	@include mq('sm', '<') {
		text-align: center;
	}
}

.author-card__avatar {
	flex-shrink: 0;
	aspect-ratio: 1/1;
}

.author-card__body {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}

.author-card__name {
	display: block;
	color: var(--ap-color-text);
	font-weight: 600;
}
