/* =========================
   Pioneer – Video Testimonials
   Core styles + theme tokens
   ========================= */

.ppvt {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  font-family: proxima-nova, Arial, Helvetica, sans-serif;

  /* Default (light) tokens */
  --ppvt-fg: #111;
  --ppvt-muted: #555;
  --ppvt-border: #e5e5e5;
  --ppvt-btn-bg: #fff;
  --ppvt-btn-fg: #111;
  --ppvt-btn-bg-hover: #f3f3f3;
}

.ppvt.ppvt--on-dark {
  --ppvt-fg: #fff;
  --ppvt-muted: rgba(255,255,255,.75);
  --ppvt-border: rgba(67, 183, 123,.5);
  --ppvt-btn-bg: rgba(67,183,123,.25);
  --ppvt-btn-fg: #fff;
  --ppvt-btn-bg-hover: rgba(67,183,123,.5);
}

/* Layout */
.ppvt-slide {
  display: grid;
  gap: 60px;
  align-items: stretch;
}

/* Video (left) 38% + Text (right) 62% on desktop because of DOM order */
@media (min-width: 900px){
  .ppvt-slide { grid-template-columns: 0.38fr 0.62fr; }
}

@media (max-width: 900px){
  .ppvt-aspect {
    max-width: 350px;
    margin: 0 auto
  }
  .swiper {
    padding: 0 30px;
}
}

/* Text area */
.ppvt-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ppvt-fg);
}

.ppvt-quote {
  font-size: clamp(45px, 3vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ppvt-fg);
  text-transform: none;
  letter-spacing: 0;
  text-shadow: 0 0 10px #000;
}

.ppvt-long {
  margin: 0 0 16px;
  color: var(--ppvt-fg);
}

.ppvt-meta {
}

.ppvt-name { font-weight: 600; color: var(--ppvt-fg); margin-bottom: 15px;color: #43b77b;text-shadow: 0 0 10px #000;}
.ppvt-role { font-size: 14px; color: var(--ppvt-muted); }

/* Video area */
.ppvt-video {
  display: flex;
  align-items: center;
  box-shadow: 0 0 30px #000;
}

.ppvt-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 0;
  overflow: hidden;
  background: #000;
}
.ppvt-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Navigation */
.ppvt-nav {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.ppvt-prev,
.ppvt-next {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--ppvt-border);
  background: var(--ppvt-btn-bg);
  color: var(--ppvt-btn-fg);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.ppvt-prev:hover,
.ppvt-next:hover {
  background: var(--ppvt-btn-bg-hover);
}

.ppvt-prev:focus-visible,
.ppvt-next:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.ppvt-prev::before,
.ppvt-next::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  margin: 0 auto;
  transform: rotate(225deg);
}
.ppvt-next::before { transform: rotate(45deg); }

.ppvt-pagination { text-align: center; }
.ppvt .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: .4;
  background: currentColor;
}
.ppvt .swiper-pagination-bullet-active { opacity: 1; }

/* =========================
   Custom overrides (safe zone)
   Paste your local tweaks here
   ========================= */

/* Example (keep if you already use something like this):
.ppvt { max-width: 1200px; }
.ppvt-quote { font-weight: 700; letter-spacing: .2px; }
*/

/* Progress + buttons row under text */
.ppvt-controls { 
  display: grid; 
  grid-template-columns: 1fr auto; 
  gap: 16px; 
  align-items: center; 
  margin-top: 24px; 
}

/* Track is the grey line; fill overlays from left to right */
.ppvt-progress {
  position: relative;
  height: 1px;
  background: var(--ppvt-border);
  overflow: hidden;
}
.ppvt-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ppvt-fg);
  transition: width .25s ease;
}

.ppvt-buttons { display: inline-flex; gap: 12px; }
.ppvt-prev, .ppvt-next {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ppvt-border);
  background: var(--ppvt-btn-bg);
  color: var(--ppvt-btn-fg);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ppvt-prev:hover, .ppvt-next:hover { background: var(--ppvt-btn-bg-hover); }
.ppvt-prev:focus-visible, .ppvt-next:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.ppvt-prev::before, .ppvt-next::before {
  content: ""; display: block; width: 10px; height: 10px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  margin: 0 auto; transform: rotate(225deg);
}
.ppvt-next::before { transform: rotate(45deg); }

/* Play button */
.ppvt-play {
    color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--ppvt-border);
  background: var(--ppvt-btn-bg);
  color: var(--ppvt-btn-fg);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
    align-self: flex-start;      /* stop stretching to full width */
  display: inline-flex;        /* keep icon + text aligned */
  width: auto;
  max-width: none;
  white-space: nowrap;
}
.ppvt-play:hover { background: var(--ppvt-btn-bg-hover); }
.ppvt-play:active { transform: translateY(1px); }
.ppvt-play:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Simple triangular 'play' icon */
.ppvt-play-icon {
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

/* If you still have old .ppvt-nav from earlier, hide it */
.ppvt-nav { display: none !important; }
