/* V2.7.10 — News grid 4/3/2 + Vinh Loc neon-lime read-more CTA. */
body.page-template-page-tin-tuc .vl-article-grid,
body.page-id-0 .vl-article-grid,
body .vl-article-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(12px,1.15vw,18px)!important;
  width:100%!important;
  max-width:100%!important;
}
body .vl-article-card{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body .vl-article-card>a:first-child{display:block;overflow:hidden}
body .vl-article-card>a:first-child img{
  width:100%!important;
  aspect-ratio:16/10!important;
  height:auto!important;
  object-fit:cover!important;
  transition:transform .42s ease,filter .32s ease!important;
}
body .vl-article-card:hover>a:first-child img{transform:scale(1.035);filter:saturate(1.06) contrast(1.02)}
body .vl-article-card>div{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  padding:15px!important;
}
body .vl-article-card h2{font-size:15px!important;line-height:1.42!important;margin:7px 0 8px!important}
body .vl-article-card p{font-size:11px!important;line-height:1.6!important;margin-bottom:14px!important}
body .vl-article-card .vl-news-readmore{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin-top:auto!important;
  padding:9px 13px!important;
  border:1px solid #f6ff9a!important;
  border-radius:8px!important;
  background:linear-gradient(135deg,#f4ff81 0%,#eaff36 48%,#d8f515 100%)!important;
  color:#071a2f!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(0,0,0,.19),0 0 18px rgba(234,255,54,.20)!important;
  transition:transform .2s ease,box-shadow .25s ease,filter .25s ease!important;
}
body .vl-article-card .vl-news-readmore::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-90%;
  left:-42%;
  width:35%;
  height:280%;
  transform:rotate(20deg) translateX(-220%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  transition:transform .55s ease;
}
body .vl-article-card .vl-news-readmore:hover{
  transform:translateY(-2px) scale(1.012);
  background:linear-gradient(135deg,#fbffc1,#eaff36 58%,#dfff20)!important;
  color:#071a2f!important;
  box-shadow:0 10px 26px rgba(0,0,0,.23),0 0 28px rgba(234,255,54,.42)!important;
}
body .vl-article-card .vl-news-readmore:hover::before{transform:rotate(20deg) translateX(430%)}
body .vl-article-card .vl-news-readmore:focus-visible{outline:3px solid #fff!important;outline-offset:3px}

@media(max-width:1100px){
  body .vl-article-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body .vl-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body .vl-article-card>div{padding:10px!important}
  body .vl-article-card h2{font-size:12px!important;line-height:1.35!important}
  body .vl-article-card p{font-size:9px!important;line-height:1.48!important;margin-bottom:10px!important}
  body .vl-article-card small{font-size:8px!important}
  body .vl-article-card .vl-news-readmore{font-size:8px!important;padding:8px 10px!important;border-radius:7px!important}
}
@media(max-width:420px){
  body .vl-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body .vl-article-card>div{padding:8px!important}
  body .vl-article-card h2{font-size:11px!important}
  body .vl-article-card p{display:none!important}
  body .vl-article-card .vl-news-readmore{font-size:7.5px!important;padding:7px 8px!important}
}
@media(prefers-reduced-motion:reduce){
  body .vl-article-card>a:first-child img,body .vl-article-card .vl-news-readmore{transition:none!important}
  body .vl-article-card .vl-news-readmore::before{display:none!important}
}
