/* #########################################################
   PAGE: Video Testimonials  —  html.pg-vtst  (with pg-inner + pg-gallery + pg-testimonials)
   Reuses the gallery's player / popup / play button and the
   testimonials' stars, avatars, chips, nav buttons and share band.
   ######################################################### */
:where(.pg-vtst) .phero--vtst .phero__media img{ object-position: 50% 50%; }
:where(.pg-vtst) .gswitch__btn{ white-space: nowrap; }
:where(.pg-vtst) .tsteps li > p{ margin: 0; }

/* ---------- Featured story ---------- */
:where(.pg-vtst) .vtfeat{ padding-top: clamp(26px, 2.8vw, 52px); }
:where(.pg-vtst) .vtfeat__grid{ display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 36px); align-items: stretch; }
:where(.pg-vtst) .vtfeat .vplayer{ align-self: center; }

:where(.pg-vtst) .vtstory{
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  border-radius: 18px; color: #fff; padding: clamp(22px, 2.2vw, 40px);
  background: linear-gradient(160deg, #0b4442 0%, #022f30 100%); box-shadow: 0 24px 60px rgba(1, 46, 48, .22);
}
:where(.pg-vtst) .vtstory::before{ content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 110px; opacity: .06; }
:where(.pg-vtst) .vtstory__q{ position: absolute; top: -6px; right: clamp(16px, 1.8vw, 30px); font-family: var(--serif); font-size: clamp(100px, 8vw, 150px); line-height: 1; color: var(--gold-mid); opacity: .2; z-index: -1; }
:where(.pg-vtst) .vtstory__top{ display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
:where(.pg-vtst) .vtstory .vbadge{ background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
:where(.pg-vtst) .vtstory__quote{ margin: clamp(14px, 1.4vw, 22px) 0 10px; }
:where(.pg-vtst) .vtstory__quote p{ font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.45; color: #fff; }
:where(.pg-vtst) .vtstory__text{ font-size: clamp(14px, 1vw, 15.5px); line-height: 1.6; color: #c9dbd9; }
:where(.pg-vtst) .vtstory__who{ display: flex; align-items: center; gap: 14px; margin-top: clamp(16px, 1.6vw, 26px); }
:where(.pg-vtst) .vtstory__who b{ display: block; font-size: clamp(15px, 1.1vw, 17px); font-weight: 600; color: var(--gold-light); }
:where(.pg-vtst) .vtstory__who small{ font-size: 13px; color: #bcd0ce; }
:where(.pg-vtst) .vtstory__who small i{ color: var(--gold-mid); margin-right: 3px; }
:where(.pg-vtst) .vtstory__foot{ display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: clamp(18px, 1.8vw, 28px); }
:where(.pg-vtst) .vtstory__nav{ display: flex; align-items: center; gap: 10px; }
:where(.pg-vtst) .vtstory__nav .tnav{ width: 44px; height: 44px; font-size: 14px; }
:where(.pg-vtst) .vtstory__count{ min-width: 44px; text-align: center; font-size: 13px; color: #a9c1bf; }
:where(.pg-vtst) .vtstory__count b{ color: var(--gold-light); font-size: 1.15em; }

/* ---------- Video wall ---------- */
:where(.pg-vtst) .vtbar{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(16px, 1.6vw, 26px); }
:where(.pg-vtst) .vtbar .tcount{ margin: 0; }
:where(.pg-vtst) .vtgrid{ position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 26px); }
:where(.pg-vtst) .vtcard{
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #f0ece4;
  box-shadow: 0 6px 24px rgba(18, 48, 46, .08); transition: transform .3s, box-shadow .3s;
  animation: g-rise .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0ms);
}
:where(.pg-vtst) .vtcard:hover{ transform: translateY(-6px); box-shadow: 0 20px 44px rgba(18, 48, 46, .15); }
:where(.pg-vtst) .vtcard__media{ position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: #e7ecec; font-family: var(--sans); }
:where(.pg-vtst) .vtcard__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
:where(.pg-vtst) .vtcard__media::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 46, 48, .7), rgba(1, 46, 48, .05) 55%); }
:where(.pg-vtst) .vtcard:hover .vtcard__media img{ transform: scale(1.07); }
:where(.pg-vtst) .vtcard .vplay{ z-index: 1; }
:where(.pg-vtst) .vtcard:hover .vplay{ transform: translate(-50%, -50%) scale(1.12); }
:where(.pg-vtst) .vtcard__media:focus-visible{ outline: 3px solid var(--gold); outline-offset: -3px; }
:where(.pg-vtst) .vtcard__trip, :where(.pg-vtst) .vtcard__dur{
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}
:where(.pg-vtst) .vtcard__trip{ left: 12px; bottom: 12px; max-width: calc(100% - 110px); overflow: hidden; text-overflow: ellipsis; padding: 6px 11px; color: var(--heading); background: linear-gradient(180deg, var(--gold-light), var(--gold-mid)); }
:where(.pg-vtst) .vtcard__trip i{ flex: none; }
:where(.pg-vtst) .vtcard__dur{ right: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(1, 30, 30, .7); backdrop-filter: blur(4px); }
:where(.pg-vtst) .vtcard__dur i{ font-size: .8em; color: var(--gold-light); }
:where(.pg-vtst) .vtcard__body{ display: flex; flex-direction: column; flex: 1; padding: clamp(14px, 1.3vw, 20px); }
:where(.pg-vtst) .vtcard__quote{ font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(15px, 1.08vw, 17px); line-height: 1.5; color: var(--heading); margin: 10px 0 16px; }
:where(.pg-vtst) .vtcard__who{ display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #e6e0d2; }
:where(.pg-vtst) .vtcard__who .tavatar{ width: 40px; height: 40px; font-size: 14px; }
:where(.pg-vtst) .vtcard__who b{ display: block; font-size: 14.5px; font-weight: 600; color: var(--heading); line-height: 1.3; }
:where(.pg-vtst) .vtcard__who small{ font-size: 12.5px; color: #6a7574; }
:where(.pg-vtst) .vtcard__who small i{ color: var(--gold-2); margin-right: 2px; }

/* ---------- Short clips (vertical) ---------- */
:where(.pg-vtst) .vtclips{ position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(40px, 4.2vw, 80px) 0; margin-top: clamp(24px, 2.6vw, 48px); background: linear-gradient(160deg, #0b4442 0%, #022f30 100%); }
:where(.pg-vtst) .vtclips::before{ content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); background-size: 130px; opacity: .06; }
:where(.pg-vtst) .vtclips::after{ content: ""; position: absolute; left: -10%; top: -30%; width: 55%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(238, 193, 105, .14), transparent); }
:where(.pg-vtst) .vtclips__head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 2vw, 34px); }
:where(.pg-vtst) .vtclips .shead__eyebrow{ color: #e7b85a; }
:where(.pg-vtst) .vtclips .section-title{ color: #fff; margin-top: 4px; }
:where(.pg-vtst) .vtclips__lead{ font-size: clamp(14px, 1.02vw, 16px); color: #c9dbd9; margin-top: 6px; max-width: 40em; }
:where(.pg-vtst) .vtclips__nav{ display: flex; gap: 10px; flex: none; }
:where(.pg-vtst) .tnav:disabled{ opacity: .35; cursor: default; pointer-events: none; }
:where(.pg-vtst) .vtclips__track{ display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px 2px; }
:where(.pg-vtst) .vtclips__track::-webkit-scrollbar{ display: none; }
:where(.pg-vtst) .vtclip{
  position: relative; flex: 0 0 clamp(190px, 15vw, 250px); aspect-ratio: 9 / 16; scroll-snap-align: start; border: 0; padding: 0; cursor: pointer;
  border-radius: 18px; overflow: hidden; background: #0d2e2e; font-family: var(--sans); text-align: left; color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3); transition: transform .3s;
}
:where(.pg-vtst) .vtclip img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
:where(.pg-vtst) .vtclip__shade{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 30, 30, .45) 0%, rgba(1, 30, 30, 0) 25%, rgba(1, 30, 30, 0) 50%, rgba(1, 30, 30, .9) 100%); }
:where(.pg-vtst) .vtclip:hover{ transform: translateY(-6px); }
:where(.pg-vtst) .vtclip:hover img{ transform: scale(1.06); }
:where(.pg-vtst) .vtclip:focus-visible{ outline: 3px solid var(--gold-mid); outline-offset: -3px; }
:where(.pg-vtst) .vtclip .vplay{ z-index: 1; }
:where(.pg-vtst) .vtclip:hover .vplay{ transform: translate(-50%, -50%) scale(1.12); }
:where(.pg-vtst) .vtclip__place{ position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1; background: rgba(1, 30, 30, .6); backdrop-filter: blur(4px); }
:where(.pg-vtst) .vtclip__place i{ color: var(--gold-light); }
:where(.pg-vtst) .vtclip__cap{ position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; }
:where(.pg-vtst) .vtclip__cap b{ display: block; font-family: var(--serif); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
:where(.pg-vtst) .vtclip__cap small{ display: block; font-size: 12.5px; color: var(--gold-light); margin-top: 4px; }

/* ---------- Share your video ---------- */
:where(.pg-vtst) .vtshare .tshare__google .btn{ margin-top: 4px; }
:where(.pg-vtst) .vttips{ background: #fff; border: 1px solid #ece6d8; border-radius: 26px; padding: clamp(24px, 2.6vw, 48px); box-shadow: 0 14px 40px rgba(18, 48, 46, .08); }
:where(.pg-vtst) .vttips h3{ font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(20px, 1.5vw, 24px); margin-bottom: clamp(14px, 1.4vw, 22px); }
:where(.pg-vtst) .vttips__list{ display: grid; gap: 16px; }
:where(.pg-vtst) .vttips__list li{ display: flex; gap: 14px; align-items: flex-start; }
:where(.pg-vtst) .vttips__list i{ width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fbf3e2; color: var(--gold-2); font-size: 16px; }
:where(.pg-vtst) .vttips__list b{ display: block; font-size: 15px; font-weight: 600; color: var(--heading); }
:where(.pg-vtst) .vttips__list span{ display: block; font-size: 14px; color: #3a4444; line-height: 1.5; margin-top: 2px; }
:where(.pg-vtst) .vttips__ideas{ margin-top: clamp(18px, 1.8vw, 28px); padding: 16px 18px; border-radius: 16px; background: #f4f8f7; border: 1px dashed #c6d7d5; }
:where(.pg-vtst) .vttips__ideas > b{ display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--teal-700); margin-bottom: 8px; }
:where(.pg-vtst) .vttips__ideas > b i{ color: var(--gold-2); }
:where(.pg-vtst) .vttips__ideas ul{ display: grid; gap: 6px; }
:where(.pg-vtst) .vttips__ideas li{ position: relative; padding-left: 18px; font-size: 14px; color: #3a4444; }
:where(.pg-vtst) .vttips__ideas li::before{ content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Video popup: prev/next + vertical clips ---------- */
:where(.pg-vtst) .vtbox__info{ display: flex; align-items: center; gap: 14px; }
:where(.pg-vtst) .vtbox__txt{ flex: 1; min-width: 0; }
:where(.pg-vtst) .vtbox__txt p{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:where(.pg-vtst) .vtbox__nav{
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 15px; cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s;
}
:where(.pg-vtst) .vtbox__nav:hover{ background: var(--gold-mid); border-color: var(--gold-mid); color: #1b2a2a; }
:where(.pg-vtst) .vtbox__nav#vbPrev{ order: -1; }
:where(.pg-vtst) .vbox--tall .vbox__dialog{ width: min(420px, 100%); }
:where(.pg-vtst) .vbox--tall .vbox__frame{ aspect-ratio: 9 / 16; max-height: calc(100vh - 250px); max-width: calc((100vh - 250px) * 9 / 16); }
:where(.pg-vtst) .vbox--tall .vbox__info{ max-width: 420px; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  :where(.pg-vtst) .vtgrid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  :where(.pg-vtst) .vtfeat__grid{ grid-template-columns: minmax(0, 1fr); }
  :where(.pg-vtst) .vtgrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :where(.pg-vtst) .phero--vtst .phero__media{ width: 100%; opacity: .22; }
  :where(.pg-vtst) .vtbar{ flex-direction: column; align-items: stretch; }
  :where(.pg-vtst) .vtclips__track{ margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (max-width: 767px) {
  :where(.pg-vtst) .gstats li:last-child{ display: none; }
  :where(.pg-vtst) .vtstory{ padding: 20px; }
  :where(.pg-vtst) .vtstory__quote p{ font-size: 18px; }
  :where(.pg-vtst) .vtstory__foot .btn{ flex: 1; }
  :where(.pg-vtst) .vtclips{ padding: 34px 0 30px; }
  :where(.pg-vtst) .vtclips__nav{ display: none; }
  :where(.pg-vtst) .vtclip{ flex-basis: 46%; border-radius: 14px; }
  :where(.pg-vtst) .vtclip__cap b{ font-size: 14px; }
  :where(.pg-vtst) .vttips{ border-radius: 22px; }
  :where(.pg-vtst) .vtshare .tshare__google .btn{ width: 100%; }
}
@media (max-width: 640px) {
  :where(.pg-vtst) .vtgrid{ grid-template-columns: minmax(0, 1fr); gap: 14px; }
  :where(.pg-vtst) .gswitch__btn{ gap: 7px; padding-inline: 10px; font-size: 13px; }
  :where(.pg-vtst) .gstats{ justify-content: space-around; }
  :where(.pg-vtst) .gstats li{ font-size: 12px; padding: 0 8px; }
  :where(.pg-vtst) .vtcard:hover, :where(.pg-vtst) .vtclip:hover{ transform: none; }
  :where(.pg-vtst) .vtbox__nav{ width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.pg-vtst) .vtcard{ animation: none; }
  :where(.pg-vtst) .vtcard, :where(.pg-vtst) .vtclip, :where(.pg-vtst) .vtclip img, :where(.pg-vtst) .vtcard__media img{ transition: none; }
}
