/* Homepage testimonial video cards (three vertical cards). Uses the v8 tokens
   so it sits inside the existing .couples cream section. */

.v8 .tvids .tvid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(34px, 4vw, 54px);
}

.v8 .tvid-card { display: flex; flex-direction: column; gap: 14px; }

/* Portrait card. The source films are 16:9, so a centred cover keeps the couple
   in frame while the card reads as a vertical testimonial. */
.v8 .tvid-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #0c1712;
  box-shadow: 0 26px 60px -34px rgba(0, 30, 18, .5);
}

.v8 .tvid-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  background-image: var(--tvid-img); background-size: cover; background-position:center 30%;
}
.v8 .tvid-video { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit:cover; object-fit:cover;-o-object-position:center 30%;object-position:center 30%; background: #000; }

.v8 .tvid-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 20, 12, .58), rgba(0, 20, 12, .1) 46%, rgba(0, 20, 12, .3));
}

.v8 .tvid-play {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  color: var(--cream); background: rgba(10, 16, 12, .4); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.v8 .tvid-poster:hover .tvid-play { transform: scale(1.08); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.v8 .tvid-play svg { margin-left: 3px; }

.v8 .tvid-tag {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--cream); text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.v8 .tvid-by { display: flex; flex-direction: column; gap: 2px; }
.v8 .tvid-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--green); line-height: 1.1; }
.v8 .tvid-venue { font-family: var(--font-label); font-size: var(--fs-meta); letter-spacing: .04em; color: var(--grey); }

/* Mobile: one card per row, centred, matching the rest of the homepage. */
@media (max-width: 820px) {
  .v8 .tvids .tvid-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 26px; }
  .v8 .tvid-by { text-align: center; align-items: center; }
}

/* Fit the section on one screen WITHOUT cropping the films (20 Oct 2026).
   The films are 9:16, so each card keeps 9:16 and its height is set by the
   screen height; the width follows. The heading and the row are centred. */
.v8 .tvids .container { width: 100%; }
.v8 .tvids .ts-head { margin-left: auto; margin-right: auto; text-align: center; }
.v8 .tvids .ts-head .eyebrow { justify-content: center; }
.v8 .tvids .ts-sub { margin-left: auto; margin-right: auto; }
.v8 .tvid-media { aspect-ratio: 9 / 16; height: auto; }
.v8 .tvid-by { text-align: center; align-items: center; }
@media (min-width: 641px) {
  .v8 .tvids .tvid-grid {
    --tvid-h: clamp(380px, calc(100svh - 340px), 600px);
    grid-template-columns: repeat(3, min(calc(var(--tvid-h) * 9 / 16), calc((100vw - 120px) / 3)));
    justify-content: center; max-width: none; margin-left: auto; margin-right: auto;
    gap: clamp(20px, 2.4vw, 34px);
  }
}
@media (max-width: 640px) {
  .v8 .tvids .tvid-grid {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: min(70vw, calc((100svh - 300px) * 9 / 16));
    justify-content: start; max-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px 6px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 14px;
  }
  .v8 .tvids .tvid-grid::-webkit-scrollbar { display: none; }
  .v8 .tvid-card { scroll-snap-align: center; }
}

/* Shared section on other pages (wrapped in .v8.tvids-host) and the dark variant */
.v8.tvids-host{background:transparent;color:inherit}
.v8 .tvids--dark .eyebrow{color:var(--gold-light)}
.v8 .tvids--dark .ts-h{color:var(--cream)}
.v8 .tvids--dark .ts-sub{color:rgba(255,250,241,.72)}
.v8 .tvids--dark .tvid-name{color:var(--cream)}
.v8 .tvids--dark .tvid-venue{color:rgba(255,250,241,.62)}
.v8 .tvids--dark .tvid-media{box-shadow:0 26px 60px -30px rgba(0,0,0,.7);border:1px solid rgba(255,250,241,.12)}
