/*
 * ブログの記事の書き手（templates/single.html・inc/author.php）。
 *   cl-blog-byline … 記事の上の小さな写真と名前
 *   cl-author-box  … 記事の下の「この記事を書いた人」
 */

:root .cl-blog-byline {
	gap: 10px;
	align-items: center;
	margin: 0 0 0 auto;
	color: var(--wp--preset--color--heading);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.cl-blog-byline .wp-block-avatar {
	flex: none;
	line-height: 0;
}

.cl-blog-byline .wp-block-avatar img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

:root .cl-author-box {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	margin: 50px 0 0;
	padding: 32px 36px;
	border-radius: 20px;
	background: var(--wp--preset--color--background);
}

.cl-author-box__photo {
	flex: none;
	line-height: 0;
}

.cl-author-box__photo img {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 6px 20px #d4eaff;
}

:root .cl-author-box__body {
	flex: 1;
	min-width: 0;
}

:root .cl-author-box__label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 6px 14px;
	border-radius: 30px;
	background: #fff;
	color: var(--wp--preset--color--theme);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

:root .cl-author-box__name {
	margin: 0;
	color: var(--wp--preset--color--heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

:root .cl-author-box__title {
	margin: 2px 0 0;
	color: var(--wp--preset--color--content);
	font-size: 14px;
	line-height: 1.6;
}

.cl-author-box__title:empty {
	display: none;
}

:root .cl-author-box__bio {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.9;
}

@media (width <= 767px) {
	:root .cl-blog-byline {
		margin-left: 0;
		width: 100%;
	}

	:root .cl-author-box {
		flex-direction: column;
		gap: 18px;
		padding: 24px;
	}

	.cl-author-box__photo img {
		width: 88px;
		height: 88px;
	}
}
