/* Bổ sung cho các trang WordPress (tin đăng, tin tức, trang thường) */
a.thumb{display:block}
.card .thumb img{transition:transform .3s}
.card:hover .thumb img{transform:scale(1.03)}
.crumbs{font-size:13px;color:var(--muted);padding-block:18px 6px}
.crumbs a{color:var(--brand);text-decoration:none}
.page-head{background:var(--surface);border-bottom:1px solid var(--line)}
.page-head .wrap{padding-block:8px 26px}
.page-head h1{font-size:clamp(24px,3.4vw,34px);line-height:1.2;text-wrap:balance;margin:6px 0 8px}
.page-head p{color:var(--muted);max-width:65ch;margin:0}
.tin-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start;padding-bottom:20px}
.tin-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.tin-hero{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:14px;background:var(--surface-2)}
.tin-page h1{font-size:clamp(22px,3vw,30px);line-height:1.25;text-wrap:balance;margin:0}
.tin-proj{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--brand)}
.tin-price{font-size:26px;font-weight:800;color:var(--accent)}
.tin-price small{font-size:14px;font-weight:600;color:var(--muted);margin-left:8px}
.tin-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:0}
.tin-specs div{background:var(--surface-2);border-radius:10px;padding:9px 12px;min-width:0}
.tin-specs dt{font-size:12px;color:var(--muted)}
.tin-specs dd{margin:0;font-weight:700}
.tin-info h2{font-size:19px;margin:8px 0 6px}
.tin-info .empty-info{color:var(--muted)}
.tin-date{font-size:12.5px;color:var(--muted);margin:0}
.tin-side{position:sticky;top:90px}
.side-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow)}
.side-card .lbl{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.side-card .big{font-size:28px;color:var(--accent)}
.side-card p{margin:0;color:var(--muted);font-size:14px}
.side-card .btn{width:100%;justify-content:center}
.side-card .who{font-size:13px;color:var(--muted);text-align:center}
.prose{font-size:16px;line-height:1.7;max-width:72ch}
.prose p{margin:0 0 12px}
.prose h2{font-size:21px;margin:22px 0 8px}
.prose h3{font-size:18px;margin:18px 0 6px}
.prose ul,.prose ol{padding-left:22px;margin:0 0 12px}
.prose img{height:auto;border-radius:10px}
.prose a{color:var(--brand)}
.prose table{border-collapse:collapse;width:100%;display:block;overflow-x:auto}
.prose td,.prose th{border:1px solid var(--line);padding:6px 10px}
.article{padding-bottom:36px}
.article h1{font-size:clamp(24px,3.4vw,34px);line-height:1.25;text-wrap:balance;margin:6px 0 4px;max-width:30ch}
.article-img{display:block;width:100%;max-width:880px;height:auto;border-radius:14px;margin:12px 0 18px}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.post-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.pc-img{display:block;aspect-ratio:16/9;background:var(--surface-2)}
.pc-img img{width:100%;height:100%;object-fit:cover;display:block}
.pc-body{padding:14px 16px 18px;display:flex;flex-direction:column;gap:6px}
.pc-body h2{font-size:17px;line-height:1.35;margin:0}
.pc-body h2 a{color:inherit;text-decoration:none}
.pc-body p{margin:0;color:var(--muted);font-size:14px}
.pc-date{font-size:12.5px;color:var(--muted)}
.pager{margin-top:20px}
.pager .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pager .page-numbers{padding:6px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none;color:var(--ink)}
.pager .current{background:var(--brand);color:var(--on-brand);border-color:var(--brand)}
.mini-filter{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin-bottom:14px}
.mini-filter label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted);min-width:0;flex:1 1 180px}
.mini-filter input,.mini-filter select{font:inherit;font-size:14px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.mini-filter .btn{flex:0 0 auto}
.result-meta{color:var(--muted);margin:10px 0}
.empty{color:var(--muted)}
@media (max-width:900px){
  .tin-layout{grid-template-columns:1fr}
  .tin-side{position:static}
  .posts{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){.posts{grid-template-columns:1fr}}
.tin-hero[data-nm-thumb]{aspect-ratio:3/1}
