/* Video section uses the site's existing .lp-section, .lp-container,
   .lp-kicker, h2/em, font and color rules. Load AFTER the theme CSS. */
.lp-video-section {
  background: var(--lp-paper);
  overflow: hidden;
}
.lp-video-section * { box-sizing: border-box; }
.lp-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
}
.lp-author-story, .lp-video-showcase { min-width: 0; }
/* Heading/kicker sizing, weight, margin, font and colors come from live theme */
.lp-author-story .lp-kicker { display: inline-block; }
.lp-author-story h2 em { font-style: normal; }
.lp-author-text {
  color: var(--lp-muted);
  font-size: 15.5px;
  line-height: 1.85;
  margin: 0 0 17px;
}
.lp-author-trust {
  display: grid;
  gap: 22px;
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid var(--lp-line);
}
.lp-video-section .lp-trust-item { display: flex; align-items: flex-start; gap: 16px; }
/* Renamed to avoid collision with live site's distribution-logo .lp-trust-icon */
.lp-author-trust-icon {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--lp-sage);
  color: var(--lp-orange);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  transition: background .3s, color .3s, transform .3s;
}
.lp-author-trust-icon svg { width: 23px; height: 23px; }
.lp-trust-copy { min-width: 0; flex: 1; }
.lp-video-section .lp-trust-copy h3 {
  margin: 0 0 5px;
  color: var(--lp-ink);
  font-size: 20px;
  line-height: 1.2;
}
.lp-trust-copy p { margin: 0; color: var(--lp-muted); font-size: 13.5px; line-height: 1.7; }
.lp-trust-item:hover .lp-author-trust-icon {
  background: var(--lp-orange); color: var(--lp-white); transform: translateY(-3px);
}
.lp-video-showcase, .lp-video-slide {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lp-video-slide { width: 100%; opacity: 1; transform: scale(1); transition: opacity .3s, transform .3s; }
.lp-video-slide.is-changing { opacity: 0; transform: scale(.9); }
.lp-video-frame {
  position: relative;
  width: 350px;
  max-width: 100%;
  aspect-ratio: 9 / 18;
  padding: 10px;
  background: #141715;
  border: 4px solid var(--lp-orange);
  border-radius: 32px;
  box-shadow: 0 20px 55px #0002;
}
.lp-video-screen { position: relative; width: 100%; height: 100%; background: #111; overflow: hidden; border-radius: 23px; }
.lp-video-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; z-index: 2; }
.lp-video-screen.is-playing .lp-video-iframe { display: block; }
.lp-video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  border: 0; background: #111; cursor: pointer; z-index: 1;
}
.lp-video-screen.is-playing .lp-video-play { display: none; }
.lp-video-thumbnail { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-video-play-icon {
  position: absolute; top: 43%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 66px; height: 66px;
  border-radius: 50%; background: var(--lp-orange); color: white; font-size: 25px;
  box-shadow: 0 5px 25px #0005; pointer-events: none;
}
.lp-video-overlay {
  position: absolute; z-index: 3; bottom: 10px; left: 10px; right: 10px;
  padding: 65px 18px 20px; color: white;
  background: linear-gradient(transparent, rgba(0,0,0,.93));
  border-radius: 0 0 23px 23px; pointer-events: none;
}
.lp-video-title { margin: 0 0 9px; font-size: 22px; line-height: 1.25; font-weight: 700; color: white; }
.lp-video-description {
  margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: #ffffffd9;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lp-video-link { color: white; font-size: 11px; font-weight: 700; text-decoration: underline; pointer-events: auto; }
.lp-video-link:hover { color: var(--lp-gold); }
.lp-video-frame:has(.is-playing) .lp-video-overlay { display: none; }
.lp-video-navigation { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 28px; }
.lp-video-navigation[hidden] { display: none !important; }
.lp-video-prev, .lp-video-next {
  width: 45px; height: 45px; border: 1px solid var(--lp-orange);
  border-radius: 50%; background: transparent; color: var(--lp-orange);
  font-size: 20px; cursor: pointer; transition: background .25s, color .25s;
}
.lp-video-prev:hover, .lp-video-next:hover { background: var(--lp-orange); color: white; }
.lp-video-counter { display: flex; align-items: center; gap: 12px; color: var(--lp-orange); font-size: 14px; }
.lp-video-current { font-size: 19px; }
.lp-video-counter-line { height: 1px; width: 30px; background: var(--lp-orange); }
@media (max-width: 1100px) {
  .lp-video-layout { gap: 35px; }
  .lp-video-frame { width: min(100%, 330px); }
}
@media (max-width: 820px) {
  .lp-video-layout { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
  .lp-video-showcase { order: 1; width: 100%; }
  .lp-author-story { order: 2; width: 100%; }
  .lp-video-slide { transform: none !important; animation: none !important; }
  .lp-video-frame { margin: 0 auto; }
}
@media (max-width: 480px) {
  .lp-video-layout { gap: 30px; }
  .lp-video-frame { width: min(100%, 270px); }
  .lp-author-trust { gap: 20px; margin-top: 25px; padding-top: 25px; }
  .lp-author-trust-icon { flex-basis: 43px; width: 43px; height: 43px; }
  .lp-trust-copy p { font-size: 12px; }
      .lp-section {padding-bottom:0;}
}
@media (prefers-reduced-motion: reduce) {
  .lp-video-slide, .lp-video-prev, .lp-video-next, .lp-author-trust-icon { transition: none; }
}
