/* ==========================================================================
   Post Info (.sentio-pi)
   ==========================================================================
   Extracted from frontend.css during the Batch 8 mechanical extraction
   (2026-04-18). Behavior-preserving. NO JS handler.
   ========================================================================== */


.sentio-pi {
	width: 100%;
}

.sentio-pi--placeholder {
	padding: 20px;
	text-align: center;
	color: #94a3b8;
	background: #f8fafc;
	border: 2px dashed #e2e8f0;
	border-radius: 8px;
}

/* List */
.sentio-pi__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* Layout: Inline (default) */
.sentio-pi--inline .sentio-pi__list {
	flex-direction: row;
	align-items: center;
}

/* Layout: Stacked */
.sentio-pi--stacked .sentio-pi__list {
	flex-direction: column;
}

/* Item */
.sentio-pi__item {
	display: inline-flex;
	align-items: center;
	gap: 0;
	line-height: 1.5;
}

/* Icon */
.sentio-pi__icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: #94a3b8;
	margin-right: 6px;
}

.sentio-pi__icon svg {
	width: 16px;
	height: 16px;
}

/* Label */
.sentio-pi__label {
	color: #94a3b8;
	margin-right: 4px;
	white-space: nowrap;
}

/* Value */
.sentio-pi__value {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.sentio-pi__value a {
	color: #6366f1;
	text-decoration: none;
	transition: color 0.2s;
}

.sentio-pi__value a:hover {
	text-decoration: underline;
}

/* Divider */
.sentio-pi__divider {
	display: inline-flex;
	align-items: center;
	color: #cbd5e1;
	user-select: none;
	font-size: 0.9em;
}

/* ── Diff #3 — Author Avatar Chip ── */
.sentio-pi__avatar {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 8px;
}

.sentio-pi__avatar img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.sentio-pi__item--author {
	display: inline-flex;
	align-items: center;
}

/* ── Diff #2 — Relative Date Tooltip ── */
.sentio-pi__tooltip-trigger {
	position: relative;
	cursor: help;
	border-bottom: 1px dotted currentColor;
}

.sentio-pi__tooltip-trigger:hover::after {
	content: attr(title);
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.4;
	color: #ffffff;
	background: #1e293b;
	border-radius: 6px;
	z-index: 10;
	pointer-events: none;
}

.sentio-pi__tooltip-trigger:hover::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 2px);
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #1e293b;
	z-index: 10;
	pointer-events: none;
}

/* ── Taxonomy Term Pills ── */
.sentio-pi__term-pill {
	display: inline-block;
	padding: 2px 10px;
	font-size: 0.85em;
	line-height: 1.6;
	background: #f1f5f9;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.2s, color 0.2s;
}

a.sentio-pi__term-pill:hover {
	background: #e2e8f0;
}

/* ── Responsive ── */
@media (max-width: 767px) {
	.sentio-pi--inline .sentio-pi__list {
		flex-wrap: wrap;
	}
}
