/*
 * spoassi-site-core: Hummingbird shortcode互換レイヤーCSS
 *
 * 方針(Phase6A 12章): Hummingbirdの見た目を完全再現することより、
 * 意味・可読性・リンク機能・モバイルでの横スクロール防止を優先する。
 * すべて spoassi- プレフィックス付きクラスにスコープし、
 * STORK19本体のCSSと衝突しないようにする。
 */

.spoassi-voice {
	display: flex;
	align-items: flex-start;
	gap: 0.75em;
	margin: 1.5em 0;
	max-width: 100%;
}

.spoassi-voice__icon {
	flex: 0 0 auto;
	margin: 0;
	text-align: center;
	width: 3.5em;
}

.spoassi-voice__icon img {
	width: 3.5em;
	height: 3.5em;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.spoassi-voice__name {
	font-size: 0.75em;
	margin-top: 0.25em;
	word-break: break-word;
}

.spoassi-voice__comment {
	flex: 1 1 auto;
	min-width: 0;
	background: #f4f6f8;
	border-radius: 0.5em;
	padding: 0.75em 1em;
	position: relative;
}

.spoassi-voice__comment p:first-child {
	margin-top: 0;
}

.spoassi-voice__comment p:last-child {
	margin-bottom: 0;
}

.spoassi-btn {
	text-align: center;
	margin: 1.5em 0;
}

.spoassi-btn a {
	display: inline-block;
	max-width: 100%;
	padding: 0.9em 1.5em;
	border-radius: 0.4em;
	background: #ff9800;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	word-break: break-word;
}

.spoassi-btn a:hover {
	opacity: 0.85;
}

.spoassi-aside {
	margin: 1.5em 0;
	padding: 1em 1.2em;
	border-left: 4px solid #90a4ae;
	background: #f7f7f7;
	border-radius: 0.25em;
}

.spoassi-box {
	margin: 1.5em 0;
	padding: 1em 1.2em;
	border: 1px solid #cfd8dc;
	border-radius: 0.4em;
	background: #fafafa;
}

.spoassi-colwrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	max-width: 100%;
}

.spoassi-col {
	box-sizing: border-box;
	flex: 1 1 100%;
	min-width: 0;
	max-width: 100%;
}

@media (min-width: 600px) {
	.spoassi-col--2 {
		flex: 1 1 calc(50% - 0.5em);
	}

	.spoassi-col--3 {
		flex: 1 1 calc(33.333% - 0.667em);
	}
}
