.lenos-videoteca-grid {
  position: relative;
  z-index: 20;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: .5rem .15rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
/* Tastyc's fixed header keeps the Elementor document box over page content.
   Disable pointer targeting on that oversized box, then restore real controls. */
.tst-menu-frame .tst-menu > .elementor {
  pointer-events: none !important;
}
.tst-menu-frame .tst-menu > .elementor a,
.tst-menu-frame .tst-menu > .elementor button,
.tst-menu-frame .tst-menu > .elementor [role="button"],
.tst-menu-frame .tst-menu > .elementor input,
.tst-menu-frame .tst-menu > .elementor select {
  pointer-events: auto !important;
}
.lenos-video-card {
  position: relative;
  flex: 0 0 clamp(230px, 25vw, 320px);
  aspect-ratio: 9 / 16;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  color: #fff;
  scroll-snap-align: start;
  isolation: isolate;
}
.lenos-video-player {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #111;
  object-fit: cover;
}
.lenos-video-missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: linear-gradient(145deg, #282828, #090909);
  color: #fff;
  text-align: center;
}
.lenos-video-scrim {
  position: absolute;
  z-index: 1;
  inset: 30% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .76));
}
.lenos-video-sound {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  touch-action: manipulation;
}
.lenos-video-info {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  padding: 3.5rem .8rem .9rem;
  color: #fff;
}
.lenos-video-copy { min-width: 0; max-width: calc(100% - 54px); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.lenos-video-info h3 { margin: 0 0 .35rem; color: inherit; font-size: 1.05rem; line-height: 1.25; }
.lenos-video-description { max-height: 5.4em; overflow: hidden; color: rgba(255,255,255,.95); font-size: .88rem; line-height: 1.35; }
.lenos-video-description p { margin: 0; }
.lenos-video-actions { display: flex; flex: 0 0 46px; flex-direction: column; align-items: center; gap: 1rem; }
.lenos-video-stat, .lenos-like-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  color: #fff;
  font-size: .78rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
}
.lenos-video-stat > span:first-child { font-size: 1.25rem; }
.lenos-like-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.lenos-like-icon { color: #fff; font-size: 2rem; line-height: 1; transition: transform .15s ease, color .15s ease; }
.lenos-like-button:hover .lenos-like-icon { transform: scale(1.12); }
.lenos-like-button.is-liked .lenos-like-icon { color: #ff3158; }
.lenos-like-button:disabled { cursor: default; }
.lenos-event-message { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.lenos-videos-empty { padding: 1rem; }
@media (max-width: 600px) {
  .lenos-videoteca-grid { gap: .75rem; margin-right: -1rem; padding-right: 1rem; }
  .lenos-video-card { flex-basis: 76vw; max-width: 340px; border-radius: 15px; }
}
