.pbd-latest-posts {
	width: 100%;
}

.pbd-latest-posts__heading {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}

.pbd-latest-posts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.pbd-latest-posts__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0 0 1.25rem;
	margin: 0 0 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}

.pbd-latest-posts__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.pbd-latest-posts__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e5e5e5;
	border-radius: 4px;
}

.pbd-latest-posts__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.pbd-latest-posts__image--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #e5e5e5 0%, #d1d5db 100%);
}

.pbd-latest-posts__thumb:hover .pbd-latest-posts__image {
	transform: scale(1.03);
}

.pbd-latest-posts__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.pbd-latest-posts__title a {
	color: #111;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pbd-latest-posts__title a:hover,
.pbd-latest-posts__title a:focus {
	color: #0066cc;
}

.pbd-latest-posts__excerpt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #6b7280;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.pbd-latest-posts__read-more {
	display: inline-block;
	margin-top: 0.15rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: #0066cc;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pbd-latest-posts__read-more:hover,
.pbd-latest-posts__read-more:focus {
	color: #004999;
	text-decoration: underline;
}

/* Sit cleanly inside Astra sidebar widgets */
.widget_pbd_latest_posts .pbd-latest-posts {
	margin-top: 0.25rem;
}
