/* ==========================================================================
   記事ページ（templates/single.html）
   数値は STUDIO 版（/news/〇〇）に合わせています：白いパネル 908px（ヘッダーの下 40px）・中身 700px
   ========================================================================== */

.p-single {
	padding-block: 40px 60px;
}

.p-single__panel {
	max-width: 908px !important;
	padding: 60px 104px 0;
	border-radius: 20px;
	background: var(--wp--preset--color--base);
}

.p-single__panel > * {
	margin-block: 0 !important;
}

/* カテゴリー（枠線の丸いラベル） */
.p-single__category a {
	display: inline-block;
	padding: 2px 12px;
	border: 1px solid var(--st-primary);
	border-radius: 20px;
	font-family: var(--st-font-ui);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--st-primary);
}

.p-single__category a[href*="/category/uncategorized/"],
.p-single__category .wp-block-post-terms__separator {
	display: none;
}

.p-single__title {
	margin-top: 8px !important;
	font-family: var(--st-font-article);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--st-primary);
}

/* 公開日：右寄せ */
.p-single__date {
	margin-top: 8px !important;
	font-family: var(--st-font-en);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-align: right;
}

.p-single__thumb {
	max-width: 684px !important;
	margin-block: 30px 40px !important;
}

.p-single__thumb img {
	width: 100%;
	border-radius: 0;
}

/* 本文：16px・行の高さ 28px・段落の間 10px */
.p-single__content {
	font-family: var(--st-font-ui);
	font-size: 16px;
	line-height: 1.75;
}

.p-single__content > * {
	margin-block: 10px 0;
}

.p-single__content > :first-child {
	margin-top: 0;
}

.p-single__content > .wp-block-embed + * {
	margin-top: 20px;
}

.p-single__content h2 {
	margin-top: 40px;
	font-size: 28px;
}

.p-single__content h3 {
	margin-top: 32px;
	font-size: 22px;
}

/* シェア */
.p-single .c-share {
	gap: 10px;
	margin-top: 100px !important;
	padding-bottom: 40px;
}

.p-single .c-share__title {
	font-size: 20px;
	line-height: 1.4;
}

.p-single .c-share__list {
	gap: 8px;
}

.p-single .c-share__list a {
	font-size: 30px;
}

@media (max-width: 540px) {
	.p-single {
		padding-inline: 0;
	}

	.p-single__panel {
		padding: 24px 20px 0;
		border-radius: 8px;
	}

	.p-single__category a {
		font-size: 13px;
	}

	.p-single__date {
		font-size: 13px;
	}

	.p-single__thumb {
		margin-block: 20px 40px !important;
	}

	.p-single__content > .wp-block-embed + * {
		margin-top: 40px;
	}

	.p-single .c-share {
		padding-bottom: 80px;
	}
}
