.video-zone{
      color:#fff;
      background:#06101d;
    }

.video-zone .section-title{color:#fff}

.video-zone .section-link{color:#7db1ff}

.video-grid{
      display:grid;
      grid-template-columns:1.5fr repeat(2,minmax(0,.75fr));
      gap:20px;
    }

.video-card{
      position:relative;
      min-height:260px;
      overflow:hidden;
      border-radius:24px;
      background:#101d2e;
      cursor:pointer;
      isolation:isolate;
    }

.video-card.featured{
      grid-row:span 2;
      min-height:540px;
    }

.video-card img{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      z-index:-2;
      transition:.35s ease;
    }

.video-card:hover img{transform:scale(1.04)}

.video-card:after{
      content:"";
      position:absolute;
      inset:0;
      z-index:-1;
      background:linear-gradient(180deg,rgba(2,7,13,.05),rgba(2,7,13,.92));
    }

.video-content{
      min-height:100%;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      padding:26px;
    }

.video-card.featured .video-content{min-height:540px;padding:34px}

.play{
      position:absolute;
      top:22px;left:22px;
      width:58px;height:58px;
      display:grid;place-items:center;
      border-radius:50%;
      color:#fff;
      background:rgba(226,27,45,.96);
      box-shadow:0 12px 30px rgba(0,0,0,.30);
    }

.video-title{
      margin:12px 0 0;
      font-size:24px;
      line-height:1.08;
      letter-spacing:-.03em;
    }

.featured .video-title{font-size:37px}

.video-meta{
      display:flex;
      gap:12px;
      margin-top:12px;
      color:#c7d4e2;
      font-size:12px;
      font-weight:800;
    }

.live-card{
      margin-top:24px;
      display:grid;
      grid-template-columns:1fr auto;
      gap:22px;
      align-items:center;
      padding:25px 28px;
      border:1px solid rgba(255,255,255,.12);
      border-radius:22px;
      background:linear-gradient(90deg,rgba(226,27,45,.18),rgba(255,255,255,.05));
    }

.live-card h3{margin:0 0 5px;font-size:24px}

.live-card p{margin:0;color:#cbd7e5}

.live-actions{display:flex;gap:10px;flex-wrap:wrap}

.video-modal{
      position:fixed;
      inset:0;
      z-index:4000;
      display:none;
      align-items:center;
      justify-content:center;
      padding:24px;
      background:rgba(0,0,0,.92);
    }

.video-modal.open{display:flex}

.player-shell{
      width:min(1200px,100%);
      overflow:hidden;
      border-radius:20px;
      color:#fff;
      background:#000;
      box-shadow:0 30px 100px rgba(0,0,0,.58);
    }

.player-top{
      display:flex;
      justify-content:space-between;
      gap:20px;
      align-items:center;
      padding:14px 16px;
      background:#08101b;
    }

.player-top strong{font-size:14px}

.player-actions{display:flex;gap:8px}

.player-btn{
      min-height:38px;
      padding:0 13px;
      border:1px solid rgba(255,255,255,.16);
      border-radius:10px;
      color:#fff;
      background:rgba(255,255,255,.08);
      cursor:pointer;
      font-weight:800;
      font-size:13px;
    }

.player-stage{
      position:relative;
      aspect-ratio:16/9;
      background:#000;
    }

.player-stage video{
      width:100%;
      height:100%;
      object-fit:contain;
      background:#000;
    }

.ad-layer{
      position:absolute;
      inset:0;
      display:flex;
      align-items:flex-end;
      padding:24px;
      background:
        linear-gradient(180deg,transparent,rgba(0,0,0,.80)),
        url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1600&q=85") center/cover;
    }

.ad-layer.hidden{display:none}

.ad-content{
      width:100%;
      display:flex;
      justify-content:space-between;
      gap:20px;
      align-items:end;
    }

.ad-copy{max-width:620px}

.ad-copy small{
      display:inline-flex;
      padding:5px 9px;
      border-radius:999px;
      color:#fff;
      background:rgba(0,0,0,.55);
      font-weight:900;
    }

.ad-copy h3{margin:10px 0 4px;font-size:30px}

.skip-ad{
      min-height:46px;
      padding:0 18px;
      border:1px solid rgba(255,255,255,.28);
      border-radius:12px;
      color:#fff;
      background:rgba(0,0,0,.62);
      font-weight:900;
      cursor:not-allowed;
    }

.skip-ad.ready{
      cursor:pointer;
      background:var(--brand);
    }

@media (max-width:1180px){
.video-grid{grid-template-columns:1fr 1fr}
.video-card.featured{grid-column:1/-1;grid-row:auto}
}

@media (max-width:680px){
.video-grid{grid-template-columns:1fr}
.video-card,.video-card.featured{min-height:340px;grid-column:auto}
.video-card.featured .video-content{min-height:340px}
.featured .video-title{font-size:28px}
.live-card{grid-template-columns:1fr}
.ad-content{display:grid}
.ad-copy h3{font-size:24px}
.player-shell{border-radius:0}
.video-modal{padding:0}
}

/* NaszeMedia.info Video — spójny układ wszystkich kafelków */
.video-card .video-category{
  position:absolute;
  top:20px;
  left:20px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  max-width:calc(100% - 40px);
  padding:7px 12px;
  border-radius:999px;
  color:#fff;
  background:rgba(226,27,45,.96);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.video-card .play{
  top:50%;
  left:50%;
  z-index:3;
  transform:translate(-50%,-50%);
  width:58px;
  height:58px;
  font-size:20px;
  padding-left:3px;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.video-card.featured .play{
  width:66px;
  height:66px;
  font-size:22px;
}

.video-card:hover .play{
  transform:translate(-50%,-50%) scale(1.08);
  background:#f01f35;
  box-shadow:0 16px 38px rgba(0,0,0,.38);
}

.video-card .video-content{
  position:relative;
  z-index:2;
}

@media (max-width:680px){
  .video-card .video-category{top:16px;left:16px;max-width:calc(100% - 32px)}
  .video-card .play,.video-card.featured .play{width:54px;height:54px;font-size:18px}
}

/* NaszeMedia.info Video v2 — czytelne kafle bez kolizji przycisku Play z tytułem */
.video-card .video-content{
  position:absolute;
  left:0;right:0;bottom:0;
  min-height:0;
  padding:72px 92px 24px 24px;
  justify-content:flex-end;
  pointer-events:none;
}
.video-card.featured .video-content{
  min-height:0;
  padding:110px 110px 32px 32px;
}
.video-card .video-category{
  top:auto;
  left:24px;
  bottom:112px;
}
.video-card.featured .video-category{
  left:32px;
  bottom:132px;
}
.video-card .play,
.video-card.featured .play{
  top:auto;
  left:auto;
  right:22px;
  bottom:22px;
  transform:none;
  width:54px;
  height:54px;
  border:1.5px solid rgba(255,255,255,.9);
  background:rgba(5,13,24,.48);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.video-card.featured .play{right:30px;bottom:30px;width:58px;height:58px}
.video-card:hover .play{
  transform:scale(1.07);
  background:#e21b2d;
  border-color:#e21b2d;
}
.video-card .video-title{margin:0;max-width:100%}
.video-card:after{background:linear-gradient(180deg,rgba(2,7,13,.03) 28%,rgba(2,7,13,.90) 100%)}
.video-library-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:72px;
  margin-top:24px;
  border:1px solid rgba(125,177,255,.25);
  border-radius:16px;
  color:#7db1ff;
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  transition:.2s ease;
}
.video-library-cta:hover{background:rgba(125,177,255,.08);border-color:rgba(125,177,255,.5)}
@media(max-width:680px){
 .video-card .video-content,.video-card.featured .video-content{padding:80px 82px 22px 20px}
 .video-card .video-category,.video-card.featured .video-category{left:20px;bottom:108px}
 .video-card .play,.video-card.featured .play{right:18px;bottom:18px;width:50px;height:50px}
 .video-library-cta{min-height:60px;font-size:12px;padding:0 18px;text-align:center}
}

/* NaszeMedia.info Video v3 — kategoria zawsze w lewym gornym rogu */
.video-card .video-category,
.video-card.featured .video-category{
  top:20px;
  left:20px;
  right:auto;
  bottom:auto;
  z-index:5;
}
.video-card.featured .video-category{
  top:28px;
  left:28px;
}
.video-card .video-content{
  padding-top:88px;
}
.video-card.featured .video-content{
  padding-top:110px;
}
@media(max-width:680px){
  .video-card .video-category,
  .video-card.featured .video-category{
    top:16px;
    left:16px;
    right:auto;
    bottom:auto;
  }
}
