/* Mẫu thẻ vinh danh học viên. Mẫu chọn trong admin (trường template: "1".."4"); thiếu thì dùng mẫu 1. */
.vd-band { position: absolute; left: 0; right: 0; bottom: 0; padding: .75rem .75rem .75rem; text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.4), transparent); }
.vd-name { color: #fff; font-weight: 900; font-size: .875rem; line-height: 1.2; }
.vd-score { color: #fcd34d; font-weight: 800; font-size: .75rem; margin-top: .125rem; }

/* Mẫu 2: băng đỏ phía trên ảnh */
[data-tpl="2"] .vd-band { top: 0; bottom: auto; background: #b91c1c; background-image: none; }

/* Mẫu 3: khung vàng, dải trắng dưới ảnh */
[data-tpl="3"] { border: 3px solid #d4a017 !important; }
[data-tpl="3"] .vd-band { background: #fff; background-image: none; }
[data-tpl="3"] .vd-name { color: #111827; }
[data-tpl="3"] .vd-score { color: #b45309; }

/* Mẫu 4: nhãn tròn đặt giữa ảnh */
[data-tpl="4"] .vd-band { top: 50%; bottom: auto; transform: translateY(-50%); margin: 0 .75rem; padding: .5rem 1rem;
  border-radius: 9999px; background: rgba(0,0,0,.65); background-image: none; text-align: center; }
