/* I-STEM — Video testimonials */

.vt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px){ .vt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .vt-grid { grid-template-columns: 1fr; } }

.vt-card { display: flex; flex-direction: column; gap: 14px; padding: 0; background: transparent; border: 0; text-align: left; cursor: pointer; text-decoration: none; }
.vt-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .2s; }
.vt-card:hover .vt-thumb { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.vt-card:hover .vt-thumb img { transform: scale(1.05); }
.vt-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,53,0) 45%, rgba(10,14,53,.55)); }

.vt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(239,95,32,.45); transition: transform .16s, background .16s; z-index: 1; padding-left: 3px; }
.vt-card:hover .vt-play { transform: translate(-50%,-50%) scale(1.08); background: var(--accent-600); }

.vt-dur { position: absolute; bottom: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(10,14,53,.6); backdrop-filter: blur(4px); padding: 4px 9px; border-radius: 7px; }

.vt-meta { padding: 0 2px; }
.vt-name { font-family: var(--ff-display); font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.vt-role { font-size: 13px; color: var(--ink-3); margin-top: 3px; }

/* modal */
.vt-modal { position: fixed; inset: 0; z-index: 200; background: rgba(8,12,40,.82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; animation: vtfade .2s ease; }
@keyframes vtfade { from { opacity: 0; } to { opacity: 1; } }
.vt-modal-inner { width: min(960px, 100%); position: relative; }
.vt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.vt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.vt-close:hover { background: rgba(255,255,255,.24); }
.vt-caption { margin-top: 16px; text-align: center; }
.vt-yt-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #aebcd6; text-decoration: none; }
.vt-yt-link:hover { color: #fff; }
@media (max-width: 540px){ .vt-close { top: 0; right: 0; transform: translate(8px, -46px); } }
