@charset "utf-8";
/* ==========================================================================
   视频中心（列表 / 详情）  video.css
   ========================================================================== */

/* ---------- 视频卡片 ---------- */
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.vcard{background:#fff;border:1px solid #e8eef7;border-radius:5px;overflow:hidden;
  transition:box-shadow .25s,border-color .25s,transform .25s}
.vcard:hover{border-color:#c3d9f4;box-shadow:0 10px 24px rgba(24,72,140,.11);transform:translateY(-3px)}

.vcover{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#0e3768}
.vcover img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.vcard:hover .vcover img{transform:scale(1.05)}
.vcover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,30,62,.05),rgba(6,30,62,.5))}
.vplay{position:absolute;left:50%;top:50%;z-index:2;width:52px;height:52px;margin:-26px 0 0 -26px;
  border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(10,45,95,.35);
  display:flex;align-items:center;justify-content:center;transition:.25s}
.vplay::before{content:"";width:0;height:0;margin-left:3px;
  border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent}
.vcard:hover .vplay{background:#1a6fd4;border-color:#1a6fd4;transform:scale(1.06)}
.vtime{position:absolute;right:9px;bottom:9px;z-index:2;padding:1px 7px;border-radius:2px;
  background:rgba(6,30,62,.72);font:11.5px/1.7 Arial;color:#fff}

.vbody{padding:13px 15px 15px}
.vbody h3{font-size:15px;font-weight:600;line-height:1.55;color:#222c3a;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vcard:hover .vbody h3{color:#1a6fd4}
.vmeta{display:flex;align-items:center;gap:14px;margin-top:9px;padding-top:9px;
  border-top:1px dashed #eef1f6;font:12px/1 Arial,"Microsoft YaHei";color:#a5afbc}
.vmeta i{font-style:normal}

/* ---------- 播放器 ---------- */
.vp-top{display:flex;gap:24px;align-items:flex-start}
.vp-main{flex:1;min-width:0}
.vp-box{position:relative;background:#0b2545;border-radius:5px;overflow:hidden}
.vp-box video{display:block;width:100%;aspect-ratio:16/9;background:#0b2545}
.vp-tip{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12.5px;color:#9aa5b4}
.vp-tip b{color:#1a6fd4;font-weight:600}

.vp-title{margin-top:18px;padding:20px 22px;background:#fff;border:1px solid #e8eef7;border-radius:5px}
.vp-title h1{font-size:21px;font-weight:600;line-height:1.5;color:#1b2431}
.vp-title .vp-meta{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px;padding-top:12px;
  border-top:1px dashed #eef1f6;font-size:12.5px;color:#a5afbc}
.vp-desc{margin-top:16px;background:#fff;border:1px solid #e8eef7;border-radius:5px;padding:22px 24px}
.vp-desc h2{font-size:17px;font-weight:600;color:#1b2431;margin-bottom:12px}
.vp-desc h2::before{content:"";display:inline-block;width:4px;height:15px;margin-right:9px;
  vertical-align:-1px;background:#1a6fd4}

/* 相关视频（侧栏） */
.vside{flex:0 0 300px}
.vside .side-box>h3{font-size:15px}
.vrel{padding:14px}
.vrel a{display:flex;gap:11px;padding:10px 0;border-bottom:1px dashed #eef1f6}
.vrel a:last-child{border-bottom:0}
.vrel .vr-pic{position:relative;flex:none;width:106px;aspect-ratio:16/9;border-radius:2px;overflow:hidden;background:#0e3768}
.vrel .vr-pic img{width:100%;height:100%;object-fit:cover}
.vrel .vr-pic::before{content:"";position:absolute;left:50%;top:50%;width:0;height:0;margin:-7px 0 0 -4px;
  border-left:9px solid #fff;border-top:6px solid transparent;border-bottom:6px solid transparent;
  filter:drop-shadow(0 0 3px rgba(0,0,0,.5))}
.vrel h4{font-size:13px;font-weight:400;line-height:1.55;color:#3d4653;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vrel a:hover h4{color:#1a6fd4}
.vrel time{display:block;margin-top:5px;font:11.5px/1 Arial;color:#b0bac8}

@media(max-width:1200px){
  .vgrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:992px){
  .vp-top{flex-direction:column}
  .vside{flex:none;width:100%}
  .vrel{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
}
@media(max-width:640px){
  .vgrid{grid-template-columns:1fr;gap:14px}
  .vrel{grid-template-columns:1fr}
  .vp-title,.vp-desc{padding:16px 15px}
  .vp-title h1{font-size:17px}
  .vplay{width:44px;height:44px;margin:-22px 0 0 -22px}
}
