.th-card {
	position: relative;
}

.th-card-media {
	position: relative;
	display: block;
	border-radius: var(--th-radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--th-bg-subtle);
}

.th-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.th-img--fallback {
	width: 100%;
	height: 100%;
}

.th-tone-0 { background: linear-gradient(135deg, #fda4af, #e0202c); }
.th-tone-1 { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.th-tone-2 { background: linear-gradient(135deg, #86efac, #16a34a); }
.th-tone-3 { background: linear-gradient(135deg, #fcd34d, #d97706); }
.th-tone-4 { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.th-tone-5 { background: linear-gradient(135deg, #67e8f9, #0891b2); }

.th-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.th-card-badge {
	position: absolute;
	left: 12px;
	top: 12px;
	background: var(--th-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}

.th-card-body {
	padding-top: 12px;
}

.th-card-eyebrow {
	color: var(--th-accent);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.th-card-title a {
	font-weight: 700;
	line-height: 1.35;
}

.th-card-title a:hover {
	color: var(--th-accent);
}

.th-card-excerpt {
	color: var(--th-text-muted);
	font-size: 14px;
	margin: 8px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.th-card-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--th-text-muted);
	font-size: 12px;
	margin-top: 10px;
}

/* Hero */
.th-card--hero .th-card-media {
	aspect-ratio: 16 / 9;
}

.th-card--hero .th-card-title {
	font-size: clamp(24px, 3vw, 32px);
	margin-top: 14px;
}

.th-card--hero .th-card-excerpt {
	-webkit-line-clamp: 3;
	font-size: 15px;
}

/* Small (hero side) */
.th-card--small {
	display: flex;
	gap: 12px;
}

.th-card--small .th-card-media {
	width: 96px;
	flex-shrink: 0;
	aspect-ratio: 1;
}

.th-card--small .th-card-title a {
	font-size: 14px;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.th-card--small .th-card-body {
	padding-top: 0;
}

/* List (Mới nhất) */
.th-card--list {
	display: flex;
	gap: 16px;
}

.th-card--list .th-card-media {
	width: 240px;
	flex-shrink: 0;
}

.th-card--list .th-card-title {
	font-size: 18px;
}

/* Lead (block chuyên mục lẻ) */
.th-card--lead .th-card-title {
	font-size: 22px;
}

/* Rank (sidebar Đọc nhiều) */
.th-card--rank {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.th-card-rank {
	font-size: 26px;
	font-weight: 800;
	color: var(--th-border);
	line-height: 1;
	width: 32px;
	flex-shrink: 0;
}

.th-card--rank .th-card-body {
	padding-top: 0;
}

.th-card--rank .th-card-title a {
	font-size: 14px;
	line-height: 1.4;
}
