/* Language2Go — public site overlay: /video page */

.l2g-hidden {
  display: none !important;
}

.l2g-video {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: #202229;
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 64px;
}

/* Player card ----------------------------------------------------------*/

.l2g-video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #2b0f45 0%, #4a1a6b 45%, #1f2a5a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(60, 20, 90, .18);
  margin-bottom: 32px;
}

.l2g-video-player-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .6;
}

.l2g-video-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  backdrop-filter: blur(2px);
}

.l2g-video-play {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 20px;
  transition: transform .25s;
  animation: l2g-video-pulse 2.4s ease-in-out infinite;
}

.l2g-video-play svg {
  margin-left: 4px;
}

.l2g-video-play:hover {
  transform: scale(1.06);
}

@keyframes l2g-video-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .45);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.l2g-video-player-caption {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  margin: 0;
  text-align: center;
  padding: 0 20px;
}

/* Cards grid -------------------------------------------------------- */

.l2g-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.l2g-video-card {
  background: #fff;
  border: 1px solid #e6e1f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(60, 20, 90, .08);
  transition: transform .25s, box-shadow .25s;
}

.l2g-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(60, 20, 90, .16);
}

.l2g-video-cover {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.l2g-video-cover-chinese {
  background: linear-gradient(135deg, #7c2d91 0%, #a63cc4 100%);
}

.l2g-video-cover-german {
  background: linear-gradient(135deg, #2b0f45 0%, #1f2a5a 100%);
}

.l2g-video-cover-neutral {
  background: linear-gradient(135deg, #4a1a6b 0%, #7c2d91 100%);
}

.l2g-video-cover-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: .5;
}

.l2g-video-cover-mark {
  position: absolute;
  right: -4px;
  bottom: -10px;
  color: rgba(255, 255, 255, .22);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
}

.l2g-video-play-sm {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.l2g-video-play-sm svg {
  margin-left: 2px;
}

.l2g-video-badge-sm {
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 4px 10px;
}

.l2g-video-card-body {
  padding: 18px 20px 22px;
}

.l2g-video-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #202229;
  margin: 0 0 8px;
  line-height: 1.35;
}

.l2g-video-card-desc {
  font-size: 13.5px;
  color: #60616b;
  line-height: 1.55;
  margin: 0;
}

/* CTA card ------------------------------------------------------------*/

.l2g-video-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #f6f3fb;
  border-radius: 16px;
  padding: 32px 36px;
}

.l2g-video-cta-text h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #202229;
  margin: 0 0 6px;
}

.l2g-video-cta-text p {
  font-size: 14.5px;
  color: #60616b;
  margin: 0;
}

.l2g-video-cta-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  background: #7c2d91;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, transform .15s;
}

.l2g-video-cta-btn:hover {
  background: #a63cc4;
}

.l2g-video-cta-btn:active {
  transform: scale(.98);
}

/* Tooltip --------------------------------------------------------------*/

.l2g-video-tip {
  position: absolute;
  z-index: 10001;
  background: #202229;
  color: #fff;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

.l2g-video-tip-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox --------------------------------------------------------------*/

.l2g-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 8, 40, .78);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}

.l2g-video-lightbox-open {
  display: flex;
  opacity: 1;
}

.l2g-video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.l2g-video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.l2g-video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.l2g-video-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.l2g-video-lightbox-close:hover {
  background: rgba(255, 255, 255, .22);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1100px) {
  .l2g-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .l2g-video-grid {
    grid-template-columns: 1fr;
  }

  .l2g-video-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }

  .l2g-video-cta-btn {
    width: 100%;
  }

  .l2g-video-play {
    width: 72px;
    height: 72px;
  }
}
