/* =====================================================================
 * [latest_posts] – thẻ bài viết (khung slider + chấm tròn lấy từ destination-slider & featured-tours)
 * Màu: chỉ dùng biến :root (--hg-primary, --hg-text, --hg-button, --green-natural)
 * ===================================================================== */
.lp-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 14px color-mix(in srgb, var(--hg-primary) 12%, transparent);
	transition: transform .2s, box-shadow .2s;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px color-mix(in srgb, var(--hg-primary) 16%, transparent); }

.lp-media { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: color-mix(in srgb, var(--hg-text) 10%, #fff); }
.lp-media .lp-img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0; object-fit: cover; transition: transform .5s; }
.lp-noimg { background: linear-gradient(150deg, var(--hg-primary), var(--hg-text)); }
.lp-card:hover .lp-img { transform: scale(1.05); }

.lp-body { display: flex; flex: 1; flex-direction: column; padding: 12px 14px 14px; }
.lp-slider .lp-title { 
    margin: 0 0 6px; 
    font-size: 20px; 
    font-weight: 700; 
    line-height: 1.4; 
}
.lp-title a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--hg-primary) !important;
	text-decoration: none !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.lp-title a:hover { color: var(--hg-text) !important; }
.lp-desc {
	display: -webkit-box;
	margin: 0 0 12px;
	overflow: hidden;
	color: var(--hg-text);
	font-size: 16px;
	line-height: 1.5;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.lp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.lp-foot time { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    color: var(--hg-text); 
    font-size: 12px; 
}
.lp-foot time svg { width: 15px; height: 15px; color: var(--hg-primary); }
.lp-more { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    color: var(--hg-primary) !important; 
    font-size: 14px; 
    font-weight: 600; 
    text-decoration: none !important;
    white-space: nowrap; 
}
.section4-home .ds-btn{
    background: transparent;
}
.section4-home .ds-btn:hover{
    background: var(--hg-primary);
}
.lp-more svg { width: 20px; height: 20px; transition: transform .2s; }
.lp-more:hover svg { transform: translateX(4px); }
.lp-card .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
