/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 17 2025 | 09:57:13 */
/* Container sidebar */
#right-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
}

#rpwwt-recent-posts-widget-with-thumbnails-2{
		border-radius: 8px;
	border: 1px solid #e5e5e5;
}
.rpwwt-widget ul li,.rpwwt-widget ul li img{
	margin:0!important;
}
/* Widget container */
.recent-posts-widget-with-thumbnails {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header widget */
.recent-posts-widget-with-thumbnails .widget-title {	
	text-align:center;
	border-radius:8px 8px 0 0;
	background: #1b7db9;
	color: #fff;
	margin: 0;
	padding: 10px 15px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* List container */
.rpwwt-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* List items */
.rpwwt-widget ul li {
	border-bottom: 1px solid #e5e5e5;
	transition: background-color 0.3s ease;
}

.rpwwt-widget ul li:last-child {
	border-bottom: none;
}

.rpwwt-widget ul li:hover {
	background-color: #f8f9fa;
}

/* Link styling */
.rpwwt-widget ul li a {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 15px 20px;
	text-decoration: none;
	color: #333;
}

/* Thumbnail */
.rpwwt-widget ul li a img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

/* Title */
.rpwwt-post-title {
	flex: 1;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	font-weight: 500;
}

.rpwwt-widget ul li a:hover .rpwwt-post-title {
	color: #1b7db9;
}

/* Excerpt (nếu có) */
.rpwwt-post-excerpt {
	display: none; /* Ẩn excerpt nếu không cần */
}

/* Responsive */
@media (max-width: 768px) {
	#right-sidebar {
		position: static;
		margin-top: 30px;
	}

	.rpwwt-widget ul li a img {
		width: 45px;
		height: 45px;
	}

	.rpwwt-post-title {
		font-size: 14px;
	}
}

/* Sticky behavior với smooth scroll */
@media (min-width: 769px) {
	#right-sidebar {
		position: sticky;
		top: 20px;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
	}

	/* Custom scrollbar */
	#right-sidebar::-webkit-scrollbar {
		width: 6px;
	}

	#right-sidebar::-webkit-scrollbar-track {
		background: #f1f1f1;
	}

	#right-sidebar::-webkit-scrollbar-thumb {
		background: #888;
		border-radius: 3px;
	}

	#right-sidebar::-webkit-scrollbar-thumb:hover {
		background: #555;
	}
}