/* Trang chu (VI va EN). Nap sau display.css. */
.home [hidden]{display:none!important}
.home .hero{padding:34px 0 6px}
.home .hero h1{max-width:820px;font-size:clamp(1.75rem,5vw,3rem);line-height:1.2;margin:0 0 10px}
.home .hero p{max-width:680px;margin:0}
.home .topic-browser{padding:0}
.home .topic-chip{min-height:44px}
.home h2.list-title,.home .start h2,.home .about h2{font-size:1.35rem;line-height:1.35;margin:30px 0 12px}
.home .result-line{font-size:.92rem}
.start ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.start a{display:block;height:100%;padding:14px 16px;background:var(--soft);border:1px solid var(--line);border-radius:12px;line-height:1.45}
.start a:hover{border-color:var(--blue)}
.start span{display:block;margin-bottom:6px;color:var(--blue);font-size:.85rem;font-weight:700}
.start strong{display:block;font-size:.98rem;font-weight:700}
.home .cluster{margin:12px 0 18px}
.home .card{min-height:0}
.home .compact .card{min-height:0}
.more-btn{display:block;width:100%;max-width:360px;min-height:48px;margin:0 auto 20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--blue);font:inherit;font-weight:700;cursor:pointer}
.more-btn:hover{border-color:var(--blue)}
.about{padding-bottom:20px}.about p{max-width:720px;color:var(--muted)}
@media(max-width:900px){.start ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .home .hero{padding-top:20px}
  .home .hero p{font-size:1rem}
  .home .toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:12px}
  .home .clear-btn{padding:0 12px}
  /* chu de: mot hang, vuot ngang */
  .home .topic-chips{flex-wrap:nowrap;overflow-x:auto;padding:2px 0 8px;margin-top:6px;scrollbar-width:thin}
  .home .topic-chip{flex:0 0 auto}
  .start ul{grid-template-columns:1fr;gap:8px}
  .start a{padding:10px 14px}.start span{margin-bottom:2px}
  .home .cluster{gap:10px}
  .home .card{padding:13px 14px;gap:5px}
  .home .article-card p{display:none}
}
