/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Popular posts list (WebberZone Top 10)
--------------------------------------------------------------*/

/* === gp-builder (managed) === */

/*--------------------------------------------------------------
# Popular posts list (WebberZone Top 10)
--------------------------------------------------------------*/

/* List reset */
.tptn_posts ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Each item: flex row with bottom separator */
.tptn_posts ul li {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--base-10);
}

.tptn_posts ul li:first-child {
	padding-top: 0;
}

.tptn_posts ul li:last-child {
	border-bottom: none;
}

/* Thumbnail */
.tptn_posts ul li > a.tptn_link {
	flex-shrink: 0;
	display: block;
	width: 80px;
	height: 80px;
	overflow: hidden;
}

.tptn_posts ul li > a.tptn_link img.tptn_thumb {
	width: 80px;
	height: 80px;
	object-fit: cover;
	display: block;
}

/* Content area */
.tptn_after_thumb {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Title link — overlay covers entire li */
.tptn_after_thumb > a.tptn_link {
	text-decoration: none;
	line-height: 1.4;
}

.tptn_after_thumb > a.tptn_link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.tptn_after_thumb > a.tptn_link:hover .tptn_title {
	text-decoration: underline;
}

/* Title text */
.tptn_title {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--contrast-10);
}

/* Author: stays clickable above overlay */
.tptn_author {
	position: relative;
	z-index: 2;
}

/* Author: hide "by " text node, uppercase name */
.tptn_author {
	font-size: 0;
	margin-top: 6px;
}

.tptn_author a {
	font-size: 0.688rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--contrast-30);
	text-decoration: none;
}

.tptn_author a::before {
	content: 'BY ';
}

.tptn_author a:hover {
	color: var(--contrast-10);
}

/* Date */
.tptn_date {
	font-size: 0.688rem;
	color: var(--contrast-30);
	margin-top: 4px;
}

/* === end gp-builder === */
