/* Trang Chư Tôn đức và Tiền bối hữu công (sua_web_tien_boi.py) */
.tb{padding-top:18px;padding-bottom:40px}
.tb-bc{font-size:.86rem;color:var(--muted);margin:0 0 10px}
.tb-bc a{color:var(--lam)}
.tb-h h1{font-family:var(--display);color:var(--lam);font-size:clamp(1.6rem,4.5vw,2.3rem);line-height:1.25;margin:4px 0 10px}
.tb-lead{font-size:1.02rem;line-height:1.75;max-width:62rem;margin:0 0 14px}
.tb-ngay-chung{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
.tb-ngay-chung a{display:block;padding:10px 14px;border-radius:var(--radius);background:var(--gold-soft);color:var(--ink);text-decoration:none;line-height:1.55;font-size:.94rem}
.tb-ngay-chung b{display:block;color:var(--lam)}
.tb-ml{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.tb-ml a{padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--lam);text-decoration:none;font-size:.88rem;font-weight:600}
.tb-ml a:hover{border-color:var(--lam)}
.tb-nhom{margin-top:26px;scroll-margin-top:calc(var(--toph,70px) + 12px)}
.tb-nhom h2{font-family:var(--display);color:var(--lam);font-size:1.3rem;margin:0 0 12px;padding-bottom:6px;border-bottom:2px solid var(--line)}
.tb-nhom h2 small{font-family:var(--body);font-size:.8rem;font-weight:600;color:var(--muted);margin-left:6px}
.tb-ds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.tb-the{display:flex;gap:14px;align-items:flex-start;height:100%;padding:12px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.tb-the:hover{border-color:var(--lam);box-shadow:var(--shadow);transform:translateY(-1px)}
.tb-anh{flex:none;width:72px;height:96px;border-radius:10px;overflow:hidden;background:var(--lam-soft);display:flex;align-items:center;justify-content:center}
.tb-anh img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tb-sen svg{width:40px;height:40px;fill:none;stroke:var(--lam);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.tb-tx{display:flex;flex-direction:column;gap:3px;min-width:0}
.tb-tx b{font-family:var(--display);color:var(--lam);font-size:1.04rem;line-height:1.35}
.tb-nam{font-size:.84rem;color:var(--muted);font-weight:600}
.tb-cong{font-size:.9rem;line-height:1.5}
.tb-ngay{font-size:.82rem;color:var(--gold);font-weight:600;margin-top:2px}
.tb-gop{margin-top:28px;font-size:.92rem;color:var(--muted)}
.tb-gop a{color:var(--lam)}
@media(max-width:480px){.tb-ds{grid-template-columns:1fr}.tb-anh{width:64px;height:86px}}
