/*!
 * Axcora Embed Enhanced
 * Modern responsive media component with smooth animations and accessibility
 * Version: 2025 Edition
 */

/* ==========================================================================
   EMBED FOUNDATION
   ========================================================================== */
.embed-21x9,
.embed-16x9,
.embed-4x3,
.embed-1x1 {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.embed-21x9::before,
.embed-16x9::before,
.embed-4x3::before,
.embed-1x1::before {
  display: block;
  content: "";
}

.embed-21x9 > *,
.embed-16x9 > *,
.embed-4x3 > *,
.embed-1x1 > *,
.embed-21x9 iframe,
.embed-16x9 iframe,
.embed-4x3 iframe,
.embed-1x1 iframe,
.embed-21x9 embed,
.embed-16x9 embed,
.embed-4x3 embed,
.embed-1x1 embed,
.embed-21x9 object,
.embed-16x9 object,
.embed-4x3 object,
.embed-1x1 object,
.embed-21x9 video,
.embed-16x9 video,
.embed-4x3 video,
.embed-1x1 video {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: var(--radius-xl);
}

/* Aspect Ratios */
.embed-21x9::before { padding-top: 42.857143%; }
.embed-16x9::before { padding-top: 56.25%; }
.embed-4x3::before  { padding-top: 75%; }
.embed-1x1::before  { padding-top: 100%; }

.youtube-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #181818;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px #0004;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.youtube-lite:hover { box-shadow: 0 12px 32px #0008; }

.youtube-lite .youtube-lite-thumb {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  filter: grayscale(15%) brightness(65%);
  transition: filter 0.25s;
}
.youtube-lite:hover .youtube-lite-thumb { filter: none; }

.youtube-lite .youtube-lite-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  border: none; outline: none;
  border-radius: 50%;
  width: 70px; height: 70px;
  cursor: pointer;
  z-index: 2;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 24px #0005;
  transition: background 0.25s, transform 0.15s;
  color: #fff;
}
.youtube-lite .youtube-lite-play:after {
  content: '▶';
  font-size: 2.1rem;
  margin-left: 5px;
}
.youtube-lite:hover .youtube-lite-play {
  background: #e62222;
  transform: translate(-50%, -50%) scale(1.08);
}

.youtube-lite .youtube-lite-label {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: 8px 18px; color: #fff; font-size: 1rem;
  background: linear-gradient(0deg,#000d 80%,#0000 100%);
  text-shadow: 0 1px 4px #0009;
  pointer-events: none;
  border-radius: 0 0 15px 15px;
  line-height: 1.1;
}
