body {
  background-image: url("/img/global/news_bg.jpg") !important;
  background-color: #000 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
}

/* === ВИДЕО-КАРТОЧКИ (адаптация под events-grid) === */
.event-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.event-card:hover .event-image img {
  transform: scale(1.05);
}

/* Центральная иконка Play */
.event-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 58px;
  color: rgba(250, 204, 21, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  z-index: 12;
}
.event-card:hover .event-play {
  opacity: 1;
}

/* Бейдж языка */
.event-lang {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 12;
}
.event-lang img {
  height: 20px;
  border-radius: 4px;
}
.event-lang .new-badge {
  background: rgba(250, 204, 21, 0.9);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Fancybox overlay (тёмный стиль) */
.fancybox__container {
  background-color: rgba(0, 0, 0, 0.9) !important;
  z-index: 10000 !important;
}

.event-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  pointer-events: none;
  z-index: 11;
}
