/* THẺ TÌNH TRẠNG RĂNG (Trang chủ – "Bạn đang gặp tình trạng nào")
   Container "Tình trạng – …" có class vd-condition-card:
   [Ảnh] [Tiêu đề] [Mô tả] [Nút "Tìm Hiểu Thêm"]
   Rê chuột: thẻ nhô lên, ảnh zoom nhẹ trong khung, nút đổ nền xanh.
   Chỉ áp dụng cho thiết bị có chuột. */

.vd-condition-card { transition: transform .35s ease; }

/* Khung ảnh giữ bo góc để ảnh zoom không tràn ra ngoài */
.vd-condition-card .elementor-widget-image .elementor-widget-container {
	overflow: hidden;
	border-radius: 16px;
}
/* Ảnh gốc mỗi thẻ có tỉ lệ hơi khác nhau (333×253, 342×246, 344×253…)
   -> ép cùng 1 tỉ lệ để các thẻ trên cùng hàng cao bằng nhau.
   Thẻ ngang "Chưa xác định được tình trạng?" (vd-condition-card--wide) giữ nguyên. */
.vd-condition-card:not(.vd-condition-card--wide) .elementor-widget-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 333 / 253;
	object-fit: cover;
	object-position: center;
}

.vd-condition-card .elementor-widget-image img {
	transition: transform .5s ease, box-shadow .35s ease;
}
.vd-condition-card .elementor-widget-heading .elementor-heading-title {
	transition: color .25s ease;
}
.vd-condition-card .elementor-button {
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
	.vd-condition-card:hover { transform: translateY(-8px); }
	.vd-condition-card:hover .elementor-widget-image img { transform: scale(1.07); }
	.vd-condition-card:hover .elementor-widget-image .elementor-widget-container {
		box-shadow: 0 14px 28px rgba(4, 186, 113, .22);
	}
	.vd-condition-card:hover .elementor-heading-title { color: #09A956 !important; }
	.vd-condition-card:hover .elementor-button {
		background-color: #04BA71 !important;
		border-color: #04BA71 !important;
		color: #fff !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vd-condition-card,
	.vd-condition-card .elementor-widget-image img { transition: none; }
}
