/* Loaded only for the nine reviewed talk-wrap posts. Keep legacy talk markup. */
.entry-content .talk-wrap {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	clear: both;
	margin: 0 0 18px;
}

.entry-content .talk-wrap .left-icon,
.entry-content .talk-wrap .right-icon {
	float: none;
	flex: 0 0 64px;
	box-sizing: border-box;
	width: 64px;
	height: 64px;
	margin: 0;
	border-width: 2px;
	background-size: cover;
	box-shadow: 0 1px 3px #0002;
}

.entry-content .talk-wrap .talk-left,
.entry-content .talk-wrap .talk-right {
	float: none;
	flex: 0 1 auto;
	box-sizing: border-box;
	width: max-content;
	max-width: min(82%, calc(100% - 76px));
	margin: 4px 0 0;
	padding: 10px 14px;
	font-size: 16px;
	line-height: 1.7;
	box-shadow: 0 1px 3px #0001;
	overflow-wrap: anywhere;
}

/* The legacy inline magenta is brighter than the site's rating pink. */
.entry-content .talk-right [style*="color: rgb(255, 0, 255)"] {
	color: #ff6b95 !important;
}

.entry-content .talk-wrap .talk-left {
	margin-right: auto;
}

.entry-content .talk-wrap .right-icon {
	order: 2;
}

.entry-content .talk-wrap .talk-right {
	order: 1;
	margin-left: auto;
}

/* Post 1311 has one empty legacy talk-wrap enclosing later complete talk-wrap
   rows. Keep that wrapper as a block so its children cannot form one long row. */
body.postid-1311 .entry-content .talk-wrap:has(> .talk-wrap) {
	display: block;
}

/* Only these two posts retain a legacy data-card shell after formal replacement. */
body:is(.postid-4932, .postid-4876) .entry-content > .onaho-data {
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

@media (max-width: 716px) {
	.entry-content .talk-wrap {
		gap: 10px;
		margin-bottom: 15px;
	}

	.entry-content .talk-wrap .left-icon,
	.entry-content .talk-wrap .right-icon {
		flex-basis: 58px;
		width: 58px;
		height: 58px;
	}

	.entry-content .talk-wrap .talk-left,
	.entry-content .talk-wrap .talk-right {
		max-width: calc(100% - 68px);
		margin-top: 3px;
		padding: 9px 12px;
	}
}
