/* video-gate.css — gaya tombol poster + play (click-to-play).
   Ukuran mengikuti .video-embed yang sudah ada di style.css
   (lebar penuh, maks 360px, rasio 9:16). Bila gambar poster gagal
   dimuat, JS menghapus <img>-nya dan yang tampil adalah gradasi CSS
   di bawah ini beserta judul + tombol play. */
.video-gate {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: block;
  font-family: inherit;
  background: linear-gradient(160deg, #1e6b4a 0%, #14532d 55%, #8a6d2b 100%);
  color: #fff;
  text-align: center;
}
.video-gate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-gate .vg-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}
.video-gate .vg-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #14532d;
  font-size: 26px;
  line-height: 64px;
  text-align: center;
  padding-left: 4px;
}
.video-gate:hover .vg-play { transform: scale(1.06); }
.video-gate .vg-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.video-gate .vg-cta {
  font-size: 14px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.65);
  padding: 6px 14px;
  border-radius: 999px;
}
