/* ===== КАСТОМНЫЕ СТИЛИ ===== */
/* Подставь правильный ID страницы вместо XXX,
   чтобы изменения действовали только там */
.page-id-XXX {

  /* 1) Контейнер: как на "белой" версии, не на всю ширину */
}
.page-id-XXX .vc_row.wpb_row {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.page-id-XXX .vc_row.wpb_row[data-vc-full-width] {
  width: auto !important;
  left: auto !important;
  right: auto !important;
}

/* 2) Убираем лишний верхний отступ у первого ряда */
.page-id-XXX .vc_row.wpb_row:first-child {
  margin-top: 0 !important;
  padding-top: 24px;
}

/* 3) Выравниваем три видео по одной линии */
.page-id-XXX .wpb_column {
  display: flex;
}
.page-id-XXX .vc_column-inner {
  display: flex;
  width: 100%;
  padding-top: 0 !important;
}
.page-id-XXX .wpb_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 4) Кнопка Play в правом верхнем углу с зумом */
.rs-video-2 a:before {
  content: '\f04b';
  font-family: FontAwesome;
  font-size: 25px;
  color: #fff;
  display: block;
  width: 60px; height: 60px; line-height: 60px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.7);
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  transform: none !important;           /* фикс чтобы не прыгала */
  transform-origin: center;
  z-index: 999;
  transition: transform .3s ease, background-color .3s ease;
}

.rs-video-2 a:hover:before {
  top: 20px !important;
  right: 20px !important;
  left: auto !important;
  transform: scale(1.2) !important;     /* зум из центра */
  background-color: rgba(0,0,0,0.9);
}

/* 5) Меню в шапке — прижать вправо */
#rs-header .nav-link-container {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 24px;
  padding-right: 40px;
}
#rs-header .nav-link-container a {
  font-size: 15px;
  color: #fff; /* если фон синий */
  text-decoration: none;
  transition: 0.3s ease;
}
#rs-header .nav-link-container a:hover {
  opacity: 0.75;
}

/* 6) Адаптив */
@media (max-width: 1024px) {
  .page-id-XXX .vc_row.wpb_row {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 640px) {
  .page-id-XXX .vc_row.wpb_row {
    padding-left: 12px;
    padding-right: 12px;
  }
}