/* Post Views Counter — Suryani International — Frontend styles */

:root {
	--pvcs-navy: #10233f;
	--pvcs-gold: #c9a24b;
	--pvcs-bg: #f4f6f9;
	--pvcs-text: #10233f;
	--pvcs-muted: #6b7686;
}

.pvcs-wrapper.pvcs-auto {
	margin: 0 0 18px;
}

.pvcs-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pvcs-navy), #1c3a63);
	color: #f5efe0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .2px;
	line-height: 1;
	border: 1px solid rgba(201, 162, 75, .5);
	transition: transform .15s ease;
}

.pvcs-badge.pvcs-badge-sm {
	padding: 3px 9px;
	font-size: 12px;
}

.pvcs-badge .pvcs-eye {
	color: var(--pvcs-gold);
	flex-shrink: 0;
}

.pvcs-badge.pvcs-bump {
	transform: scale(1.06);
}

.pvcs-related,
.pvcs-popular {
	margin: 32px 0;
	padding: 20px;
	background: var(--pvcs-bg);
	border: 1px solid #e3e7ee;
	border-left: 4px solid var(--pvcs-gold);
	border-radius: 10px;
}

.pvcs-related-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	color: var(--pvcs-text);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.pvcs-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.pvcs-popular-list {
	counter-reset: pvcs-rank;
}

.pvcs-popular-list .pvcs-related-item {
	position: relative;
	padding-left: 26px;
}

.pvcs-popular-list .pvcs-related-item::before {
	counter-increment: pvcs-rank;
	content: counter(pvcs-rank);
	position: absolute;
	left: 0;
	top: 2px;
	font-weight: 700;
	color: var(--pvcs-gold);
}

.pvcs-related-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pvcs-related-thumb img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.pvcs-related-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.pvcs-related-link {
	font-weight: 600;
	color: var(--pvcs-text);
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pvcs-related-link:hover {
	color: var(--pvcs-gold);
}

.pvcs-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pvcs-widget-item {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #e3e7ee;
}

.pvcs-widget-item:last-child {
	border-bottom: none;
}

.pvcs-widget-views {
	color: var(--pvcs-muted);
	font-size: 12px;
	white-space: nowrap;
}
