/* Indian Dream: video carousel + gallery + player pop-up (see video-gallery.js) */
.vg-section-head { text-align:center; max-width:720px; margin:0 auto 22px; }
.vg-carousel { position:relative; max-width:920px; margin:0 auto; }
.vg-track {
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:6px 2px 10px;
}
.vg-track::-webkit-scrollbar { display:none; }
.vg-track .vg-card { flex:0 0 calc((100% - 32px) / 3); scroll-snap-align:start; }

.vg-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:16px; max-width:1040px; margin:0 auto; }

.vg-card {
  position:relative; display:block; aspect-ratio:9/16; border-radius:16px; overflow:hidden; cursor:pointer;
  border:1px solid var(--border, rgba(212,175,55,0.25)); padding:0; width:100%;
  background:linear-gradient(160deg, #1a2540 0%, #0d1420 55%, #2a1d10 100%); color:var(--cream, #F5ECD7);
  font-family:inherit; text-align:left; box-shadow:0 8px 26px rgba(0,0,0,0.35);
  transition:transform .2s ease, box-shadow .2s ease;
}
.vg-card:hover, .vg-card:focus-visible { transform:translateY(-4px); box-shadow:0 14px 34px rgba(212,175,55,0.22); outline:none; }
.vg-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vg-card .vg-shade { position:absolute; inset:0; background:linear-gradient(to top, rgba(8,12,20,0.92) 0%, rgba(8,12,20,0.35) 42%, rgba(8,12,20,0) 70%); }
.vg-card .vg-play {
  position:absolute; top:50%; left:50%; width:58px; height:58px; margin:-29px 0 0 -29px; border-radius:50%;
  background:rgba(240,204,96,0.95); display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 8px rgba(240,204,96,0.22);
}
.vg-card .vg-play::after { content:''; border-style:solid; border-width:10px 0 10px 17px; border-color:transparent transparent transparent #080c14; margin-left:4px; }
.vg-card .vg-title { position:absolute; left:0; right:0; bottom:0; padding:14px 14px 16px; font-size:14px; font-weight:700; line-height:1.3; }
.vg-card .vg-tag { position:absolute; top:10px; left:10px; background:rgba(8,12,20,0.7); border:1px solid rgba(212,175,55,0.4); border-radius:999px; padding:3px 9px; font-size:10.5px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--gold-lt, #f0cc60); }

.vg-arrow {
  position:absolute; top:50%; width:42px; height:42px; margin-top:-21px; border-radius:50%; border:1px solid rgba(212,175,55,0.5);
  background:rgba(8,12,20,0.8); color:var(--gold-lt, #f0cc60); font-size:20px; line-height:1; cursor:pointer; z-index:3;
  display:flex; align-items:center; justify-content:center;
}
.vg-arrow.prev { left:-14px; } .vg-arrow.next { right:-14px; }
.vg-arrow:hover { background:var(--gold, #D4AF37); color:#080c14; }
.vg-more { text-align:center; margin-top:20px; }
.vg-more a {
  display:inline-block; padding:11px 26px; border-radius:999px; font-weight:800; font-size:14px; text-decoration:none;
  border:1px solid var(--gold, #D4AF37); color:var(--gold-lt, #f0cc60);
}
.vg-more a:hover { background:var(--gold, #D4AF37); color:#080c14; }

/* player pop-up: bigger on a laptop, full-width on a phone */
.vg-modal { position:fixed; inset:0; z-index:9999; display:none; align-items:center; justify-content:center; background:rgba(4,7,12,0.88); padding:14px; }
.vg-modal.open { display:flex; }
.vg-modal-box { position:relative; display:flex; flex-direction:column; align-items:center; gap:10px; max-width:100%; }
.vg-frame { height:min(86vh, 900px); aspect-ratio:9/16; max-width:94vw; border-radius:14px; overflow:hidden; background:#000; box-shadow:0 20px 60px rgba(0,0,0,0.6); }
.vg-frame iframe { width:100%; height:100%; border:0; display:block; }
.vg-modal-title { max-width:min(94vw, 520px); text-align:center; font-size:14px; font-weight:700; color:var(--cream, #F5ECD7); }
.vg-modal-link { font-size:12.5px; color:var(--gold-lt, #f0cc60); }
.vg-close {
  position:absolute; top:-6px; right:-6px; width:38px; height:38px; border-radius:50%; border:1px solid rgba(212,175,55,0.6);
  background:rgba(8,12,20,0.92); color:var(--cream, #F5ECD7); font-size:22px; line-height:1; cursor:pointer; z-index:2;
}

@media (max-width:900px) { .vg-track .vg-card { flex-basis:calc((100% - 16px) / 2.3); } }
@media (max-width:600px) {
  .vg-track .vg-card { flex-basis:64%; }
  .vg-arrow { display:none; }
  .vg-grid { grid-template-columns:repeat(2, 1fr); gap:12px; }
  .vg-card .vg-title { font-size:12.5px; padding:10px 10px 12px; }
  .vg-frame { height:min(80vh, 760px); }
}
@media (prefers-reduced-motion: reduce) { .vg-track { scroll-behavior:auto; } .vg-card { transition:none; } }
