/* PODS: видео и слайдер, 1.0.1. Всё ограничено .pods-vs. */
.pods-vs{position:relative;display:flex;align-items:stretch;width:100%;margin:0 0 40px;overflow:hidden}
.pods-vs.ph-video-right{flex-direction:row-reverse}
.pods-vs .ph-video{position:relative;flex:0 0 var(--ph-video-w,53.25%);max-width:var(--ph-video-w,53.25%);min-height:0;background:#0b1a33;overflow:hidden}
.pods-vs .ph-video-el{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;background:#0b1a33}
.pods-vs .ph-slider{flex:1 1 auto;min-width:0;aspect-ratio:var(--ph-slider-ratio,1448 / 924)}
.pods-vs.ph-no-slider .ph-video{flex-basis:100%;max-width:100%;aspect-ratio:16 / 9}
.pods-vs.ph-no-video .ph-slider{flex-basis:100%}
/* 1.0.1: Master Slider берёт ширину колонки целым числом пикселей (718 из 718,08) — в остатке проглядывал
   тёмный фон блока тонкой полосой справа. Колонке слайдера даём целую ширину (round), видео забирает остаток;
   фона у блока больше нет — тёмный только под самим видео. Браузер без round() берёт обычную ширину. */
.pods-vs .ph-video{flex:1 1 0;max-width:none;min-width:0}
.pods-vs .ph-slider{flex:0 0 auto;width:calc(100% - var(--ph-video-w,53.25%));width:round(down,calc(100% - var(--ph-video-w,53.25%)),1px)}
.pods-vs.ph-no-video .ph-slider{width:100%}
.pods-vs.ph-no-slider .ph-video{flex:1 1 100%}

/* слайдер Basel внутри колонки: без отступа снизу и без стартовой высоты из настроек */
.pods-vs .ph-slider > .widget{margin:0 !important;height:100%}
.pods-vs .ph-slider .master-slider{min-height:0 !important;margin:0}
.pods-vs .ph-slider .ms-bullets.ms-dir-h{left:auto !important;right:12px;bottom:auto !important;top:50%;width:auto !important;margin:0;transform:translateY(-50%)}
.pods-vs .ph-slider .ms-bullets-count{display:flex;flex-direction:column}
.pods-vs .ph-slider .ms-bullet{width:10px;height:10px;margin:5px !important;border-radius:50%;background:rgba(11,26,51,.28) !important;border:1px solid rgba(255,255,255,.8);opacity:1}
.pods-vs .ph-slider .ms-bullet-selected{background:#c99c55 !important;border-color:#fff}
.pods-vs .ph-slider .ms-bullet{box-shadow:0 0 0 1px rgba(11,26,51,.25)}

/* кнопка «Смотреть со звуком» */
.pods-vs .ph-sound{
  position:absolute;left:24px;bottom:24px;z-index:3;display:inline-flex;align-items:center;gap:12px;
  padding:9px 18px 9px 9px;border:1px solid rgba(212,173,102,.75);border-radius:999px;cursor:pointer;
  background:rgba(11,26,51,.72);color:#fff;font:600 14px/1.2 'H9 Montserrat','Montserrat',Arial,sans-serif;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.pods-vs .ph-sound:hover,.pods-vs .ph-sound:focus-visible{background:rgba(11,26,51,.9);border-color:#f1d79f;transform:translateY(-1px);outline:none}
.pods-vs .ph-sound-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  background:linear-gradient(180deg,#f3dba6 0%,#dcb877 55%,#c99c55 100%);color:#14213a}
.pods-vs .ph-sound-icon svg{width:16px;height:16px;fill:currentColor;margin-left:2px}

/* окно с видео со звуком */
.ph-modal[hidden]{display:none}
.ph-modal{position:fixed;inset:0;top:0;left:0;right:0;bottom:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.ph-modal-back{position:absolute;inset:0;top:0;left:0;right:0;bottom:0;background:rgba(5,12,26,.88)}
.ph-modal-box{position:relative;width:min(1200px,100%);aspect-ratio:16 / 9;max-height:calc(100vh - 48px);background:#000;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.ph-modal-video{width:100%;height:100%;display:block;background:#000}
.ph-modal-close{position:absolute;top:-44px;right:-6px;width:40px;height:40px;border:0;background:none;color:#fff;font:300 36px/40px Arial,sans-serif;cursor:pointer;opacity:.85}
.ph-modal-close:hover{opacity:1}
html.ph-modal-open,html.ph-modal-open body{overflow:hidden}

/* телефоны и планшеты: блоки друг под другом */
@media (max-width:991px){
  .pods-vs,.pods-vs.ph-video-right{flex-direction:column;margin-bottom:28px}
  .pods-vs.ph-m-video_first{flex-direction:column}
  .pods-vs.ph-m-slider_first{flex-direction:column-reverse}
  .pods-vs .ph-video{flex:0 0 auto;max-width:100%;width:100%;aspect-ratio:16 / 9;min-height:0}
  .pods-vs .ph-slider{flex:0 0 auto;width:100%}
}
@media (max-width:767px){
  .pods-vs .ph-sound{left:12px;bottom:12px;padding:7px 14px 7px 7px;font-size:13px}
  .pods-vs .ph-sound-icon{width:30px;height:30px}
  .ph-modal{padding:12px}
  .ph-modal-close{top:-42px;right:0}
}
@media (prefers-reduced-motion:reduce){
  .pods-vs .ph-sound{transition:none}
}
