/* V2.7.9 — logo-aligned accents, lime header CTA, tournament grid 4/3/2. */

/* Keep the neon/blue separators aligned to the same centered content width as the logo.
   Historical styles drew these lines edge-to-edge across the viewport. */
body.home .vl-hero .hero-bottom-accent{
  left:50%!important;
  right:auto!important;
  width:min(var(--vlp-site-max,1320px),calc(100% - var(--vlp-site-gutters,52px)))!important;
  transform:translateX(-50%)!important;
  height:2px!important;
  border-radius:999px;
}
body.home .arena-section{
  border-bottom:0!important;
  box-shadow:none!important;
}
body.home .arena-section>.shell{
  position:relative;
}
body.home .arena-section>.shell::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-25px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0,#57a8df 8%,#eaff36 50%,#57a8df 92%,transparent 100%);
  opacity:.7;
  box-shadow:0 0 9px rgba(234,255,54,.16);
}
body.home .partner-section>.shell::after{display:none}

/* Header registration button: exact lime from the Vinh Loc logo. */
html body .site-header .header-inner .header-tools a.header-cta,
html body .site-header .header-inner .header-tools .header-cta{
  background:#eaff36!important;
  background-image:linear-gradient(135deg,#f4ff81 0%,#eaff36 48%,#d8f515 100%)!important;
  color:#071a2f!important;
  border:1px solid #f6ff9a!important;
  box-shadow:0 0 0 1px rgba(234,255,54,.10),0 7px 22px rgba(0,0,0,.20),0 0 22px rgba(234,255,54,.30)!important;
  text-shadow:none!important;
}
html body .site-header .header-inner .header-tools a.header-cta:hover,
html body .site-header .header-inner .header-tools .header-cta:hover{
  background:#f2ff79!important;
  background-image:linear-gradient(135deg,#fbffc1,#eaff36 58%,#dfff20)!important;
  color:#071a2f!important;
  transform:translateY(-2px)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.23),0 0 30px rgba(234,255,54,.46)!important;
}

/* Tournament cards — consistent 4 / 3 / 2 responsive grid. */
body.home .tour-grid,
body.post-type-archive-wpk_event #site-main .card-grid,
body.archive.post-type-archive-wpk_event #site-main .card-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(10px,1vw,16px)!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
body.post-type-archive-wpk_event #site-main .card,
body.archive.post-type-archive-wpk_event #site-main .card,
body.home .tour-grid .tour-card{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}

@media(max-width:1180px){
  body.home .tour-grid,
  body.post-type-archive-wpk_event #site-main .card-grid,
  body.archive.post-type-archive-wpk_event #site-main .card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body.home .tour-grid,
  body.post-type-archive-wpk_event #site-main .card-grid,
  body.archive.post-type-archive-wpk_event #site-main .card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.home .tour-grid .tour-card-content{padding:10px!important}
  body.home .tour-grid .tour-card h3{font-size:12px!important;line-height:1.25!important}
  body.home .tour-grid .tour-details,body.home .tour-grid .tour-type{font-size:9px!important}
  body.post-type-archive-wpk_event #site-main .card-content{padding:13px!important}
  body.post-type-archive-wpk_event #site-main .card-content h3{font-size:14px!important}
  body.post-type-archive-wpk_event #site-main .card-meta{gap:6px!important;font-size:9px!important}
  body.post-type-archive-wpk_event #site-main .card-photo{height:145px!important;min-height:145px!important}
  body.home .vl-hero .hero-bottom-accent{width:calc(100% - var(--vlp-site-gutters,28px))!important}
}
@media(max-width:420px){
  body.home .tour-grid,
  body.post-type-archive-wpk_event #site-main .card-grid,
  body.archive.post-type-archive-wpk_event #site-main .card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.post-type-archive-wpk_event #site-main .card-content{padding:10px!important}
  body.post-type-archive-wpk_event #site-main .card-content p{display:none}
  body.post-type-archive-wpk_event #site-main .card-photo{height:120px!important;min-height:120px!important}
  body.post-type-archive-wpk_event #site-main .card-bottom{align-items:flex-start;flex-direction:column;gap:6px}
}
