/* ============================================================
   视频详情页 V5 · 播放器全宽 + 右栏选集（与播放器等高）
   2026-10-18 · 仅作用于 .vp-page，不影响站内其他页面
   ============================================================ */

.vp-page, .vp-page *, .vp-page *:before, .vp-page *:after { -webkit-box-sizing: border-box; box-sizing: border-box; }
.vp-page { clear: both; background: #f4f6fa; }
.vp-page a { text-decoration: none; }
.vp-page ul, .vp-page li { list-style: none; margin: 0; padding: 0; }
.vp-page h1, .vp-page h4, .vp-page h5 { font-weight: 600; }
.vp-wrap { width: 1430px; max-width: 100%; margin: 0 auto; padding: 0 15px; }

/* ---------------- Banner ---------------- */
.vp-banner { position: relative; overflow: hidden; padding: 56px 0 52px; background: #021a40;
    background-image: -webkit-linear-gradient(300deg, #021a40 0%, #022a6e 70%, #023793 135%);
    background-image: linear-gradient(160deg, #021a40 0%, #022a6e 70%, #023793 135%); }
.vp-banner .glow { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 2;
    background: -webkit-radial-gradient(ellipse 55% 80% at 88% 0%, rgba(4, 80, 194, .45), transparent 60%),
                -webkit-radial-gradient(ellipse 40% 70% at 4% 100%, rgba(247, 196, 51, .10), transparent 55%);
    background: radial-gradient(ellipse 55% 80% at 88% 0%, rgba(4, 80, 194, .45), transparent 60%),
                radial-gradient(ellipse 40% 70% at 4% 100%, rgba(247, 196, 51, .10), transparent 55%); }
.vp-banner .vp-wrap { position: relative; z-index: 3; }
.vp-banner em { display: block; font-style: normal; color: #f7c433; font-size: 11px; letter-spacing: 5px; line-height: 1.4; }
.vp-banner h1 { margin: 10px 0 0; color: #fff; font-size: 33px; font-weight: 600; letter-spacing: 9px; line-height: 1.3; }
.vp-crumbs { display: inline-block; margin-left: 22px; vertical-align: baseline; font-size: 12.5px; font-weight: 400;
    color: rgba(255,255,255,.62); letter-spacing: .5px; line-height: 1; white-space: nowrap; }
.vp-crumbs a { color: rgba(255,255,255,.62); -webkit-transition: color .2s; transition: color .2s; }
.vp-crumbs a:hover { color: #f7c433; }
.vp-crumbs i { font-style: normal; margin: 0 8px; color: rgba(255,255,255,.32); }
.vp-crumbs span { color: #fff; }
.vp-banner .sell { margin: 14px 0 0; color: rgba(255,255,255,.84); font-size: 13.5px; letter-spacing: 1px; line-height: 1.8; }
.vp-banner .sell b { color: #f7c433; font-weight: 600; }

/* ---------------- 胶囊条 ---------------- */
.vp-tabbar { background: #fff; border-bottom: 1px solid #e8ecf4; position: -webkit-sticky; position: sticky; top: 52px; z-index: 40;
    -webkit-box-shadow: 0 6px 14px rgba(2,26,64,.05); box-shadow: 0 6px 14px rgba(2,26,64,.05); }
.vp-tabbar .vp-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 10px; padding: 14px 15px; overflow-x: auto; }
.vp-tabbar a { -ms-flex-negative: 0; flex-shrink: 0; font-size: 13.5px; line-height: 1; padding: 10px 22px; border-radius: 22px;
    color: #5a6a83; background: #f4f6fa; -webkit-transition: all .2s; transition: all .2s; }
.vp-tabbar a:hover { color: #023793; background: #e9eefb; }
.vp-tabbar a.on { background: #023793; color: #fff; font-weight: 600; }

/* ---------------- 布局 ---------------- */
.vp-body { padding: 52px 0 50px; }
.vp-cols { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 22px; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
.vp-main { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.vp-side { -ms-flex: 0 0 300px; flex: 0 0 300px; display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 18px; }

.vp-box { background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(20,40,80,.06); overflow: hidden; }

/* ---------------- 播放器（左主栏全宽 16:9） ---------------- */
.vp-player { position: relative; width: 100%; height: 0; padding-top: 56.25%; background: #000; }
.vp-player iframe, .vp-player video { position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important; border: 0; display: block; }
.vp-player .vp-empty { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #0b1730 center/cover no-repeat;
    display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; color: #8fa2c4; font-size: 14px; }

/* ---------------- 标题区 ---------------- */
.vp-hd { padding: 24px 30px 20px; }
.vp-hd h1 { margin: 0; font-size: 25px; line-height: 1.45; font-weight: 700; color: #1b2a44; }
.vp-meta { margin-top: 14px; display: -webkit-box; display: -ms-flexbox; display: flex; gap: 12px 22px; -ms-flex-wrap: wrap; flex-wrap: wrap;
    font-size: 13.5px; color: #5a6a83; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.vp-meta em { font-style: normal; background: rgba(2,55,147,.08); color: #023793; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.vp-meta .act { margin-left: auto; display: -webkit-box; display: -ms-flexbox; display: flex; gap: 10px; }
.vp-meta .act a { font-size: 13px; border: 1px solid #e3e8f0; border-radius: 20px; padding: 8px 18px; color: #5a6a83; -webkit-transition: all .2s; transition: all .2s; }
.vp-meta .act a:hover { border-color: #023793; color: #023793; }
.vp-meta .act a.pri { background: #f7c433; border-color: #f7c433; color: #1b2a44; font-weight: 700; }
.vp-meta .act a.pri:hover { background: #f0b81c; border-color: #f0b81c; color: #1b2a44; }

/* ---------------- 内容 Tab ---------------- */
.vp-tabs { border-top: 1px solid #e8ecf4; display: -webkit-box; display: -ms-flexbox; display: flex; padding: 0 30px; }
.vp-tabs a { padding: 16px 4px; margin-right: 34px; font-size: 15px; color: #5a6a83; border-bottom: 2px solid transparent; cursor: pointer; }
.vp-tabs a.on { color: #023793; font-weight: 700; border-color: #f7c433; }
.vp-pane { padding: 26px 30px 32px; }
.vp-pane[hidden] { display: none; }
.vp-lead { background: #f4f7fd; border-left: 4px solid #023793; border-radius: 0 10px 10px 0; padding: 16px 20px;
    font-size: 15px; line-height: 1.9; color: #3d4f6b; }
.vp-rich { margin-top: 18px; font-size: 14.5px; line-height: 2; color: #5a6a83; }
.vp-rich p { margin: 0 0 12px; }
.vp-rich img { max-width: 100%; height: auto; }
.vp-rich h2, .vp-rich h3, .vp-rich h4 { font-size: 17px; color: #1b2a44; margin: 22px 0 10px; }
.vp-keys { margin-top: 20px; font-size: 13px; color: #5a6a83; }
.vp-keys span { display: inline-block; border: 1px solid #e3e8f0; border-radius: 20px; padding: 6px 15px; margin: 0 8px 8px 0; }

/* 相关视频卡（一排 3 个） */
.vp-relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vp-recard { border: 1px solid #eef1f7; border-radius: 10px; overflow: hidden; -webkit-transition: all .2s; transition: all .2s; background: #fff; }
.vp-recard:hover { border-color: #cfdcef; box-shadow: 0 6px 18px rgba(20,40,80,.08); }
.vp-recard .th { display: block; position: relative; padding-top: 56.25%; background: #0b1730 center/cover no-repeat; }
.vp-recard .th i { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    width: 40px; height: 40px; border-radius: 50%; background: rgba(247,196,51,.94); }
.vp-recard .th i:after { content: ""; position: absolute; left: 15px; top: 12px; width: 0; height: 0;
    border-left: 12px solid #1b2a44; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vp-recard .th em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; color: #fff;
    background: rgba(0,0,0,.55); border-radius: 4px; padding: 2px 7px; }
.vp-recard .tx { padding: 11px 13px 13px; }
.vp-recard .tx a { display: block; font-size: 13.5px; line-height: 1.55; color: #1b2a44; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-recard .tx a:hover { color: #023793; }
.vp-recard .tx span { display: block; margin-top: 7px; font-size: 12px; color: #8b98ad; }

/* 相关产品卡（与产品列表页 bc-row 同款：上图下文 + 规格重点栏 + 询价/详情，一排 3 个） */
.vp-prodgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vp-prodgrid .bc-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal;
    -ms-flex-direction: column; flex-direction: column; background: #fff; border: 1px solid #e3e9f1; border-radius: 8px; overflow: hidden;
    -webkit-transition: all .22s; transition: all .22s; }
.vp-prodgrid .bc-row:hover { border-color: #c9d9f2; -webkit-box-shadow: 0 4px 14px rgba(2,55,147,.08); box-shadow: 0 4px 14px rgba(2,55,147,.08);
    -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.vp-prodgrid .bc-row .pic { display: block; width: 100%; aspect-ratio: 4 / 3; border-bottom: 1px solid #eef2f7; overflow: hidden; background: #fff; }
@supports not (aspect-ratio: 4 / 3) { .vp-prodgrid .bc-row .pic { height: 218px; } }
.vp-prodgrid .bc-row .pic span { display: block; width: 100%; height: 100%; background-size: cover; background-position: center;
    background-repeat: no-repeat; -webkit-transition: -webkit-transform .35s; transition: transform .35s; }
.vp-prodgrid .bc-row:hover .pic span { -webkit-transform: scale(1.06); transform: scale(1.06); }
.vp-prodgrid .bc-row .info { -ms-flex: 0 0 auto; flex: 0 0 auto; padding: 14px 16px 2px; }
.vp-prodgrid .bc-row .info h3 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vp-prodgrid .bc-row .info h3 a { color: #1c2530; }
.vp-prodgrid .bc-row .info h3 a:hover { color: #023793; }
.vp-prodgrid .bc-row .tags { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.vp-prodgrid .bc-row .tags i { font-style: normal; font-size: 11.5px; line-height: 1.6; color: #6b7787; background: #eef1f6;
    padding: 2px 7px; border-radius: 3px; }
.vp-prodgrid .bc-row .tags i.cat { background: #e8f0ff; color: #023793; }
.vp-prodgrid .bc-row .tags i.ok { background: #e9f7ef; color: #1c6b45; }
.vp-prodgrid .bc-row .spc { margin-top: auto; padding: 12px 16px 0; }
.vp-prodgrid .bc-row .spc b { display: block; font-size: 16px; font-weight: 600; color: #023793; letter-spacing: .5px;
    line-height: 1.35; white-space: nowrap; }
.vp-prodgrid .bc-row .spc span { display: block; margin-top: 3px; font-size: 11.5px; color: #8a96a6; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; }
.vp-prodgrid .bc-row .spc:empty { display: none; }
.vp-prodgrid .bc-row .ops { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 8px; padding: 12px 16px 16px; }
.vp-prodgrid .bc-row .ops a { -ms-flex: 1 1 0; flex: 1 1 0; display: inline-block; text-align: center; font-size: 13px;
    line-height: 1.2; padding: 8px 0; border-radius: 4px; -webkit-transition: all .2s; transition: all .2s; }
.vp-prodgrid .bc-row .ops .ask { background: #f7c433; color: #3a2c00; font-weight: 600; }
.vp-prodgrid .bc-row .ops .ask:hover { background: #eab61c; }
.vp-prodgrid .bc-row .ops .det { border: 1px solid #c9d2df; color: #6b7787; }
.vp-prodgrid .bc-row .ops .det:hover { border-color: #023793; color: #023793; }

/* ---------------- 上下篇 ---------------- */
.vp-prevn { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 14px; margin-top: 22px; }
.vp-prevn a { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; background: #fff; border: 1px solid #e8ecf4; border-radius: 12px; padding: 15px 18px;
    font-size: 14px; color: #5a6a83; box-shadow: 0 4px 16px rgba(20,40,80,.05); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-prevn a:hover { border-color: #023793; color: #023793; }
.vp-prevn a b { display: block; color: #023793; font-size: 12.5px; margin-bottom: 5px; font-weight: 600; }
.vp-prevn a.r { text-align: right; }

/* ---------------- 右栏：选集（与播放器等高，JS 同步） ---------------- */
.vp-pl { background: #0f1c38; color: #cdd9ef; border-radius: 14px; display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; overflow: hidden;
    box-shadow: 0 4px 16px rgba(20,40,80,.06); }
.vp-pl .hd { padding: 15px 18px 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
.vp-pl .hd b { font-size: 15px; color: #fff; font-weight: 600; }
.vp-pl .hd span { display: block; font-size: 12px; color: #7f93bb; margin-top: 5px; }
.vp-pl ul { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: auto; min-height: 0; }
.vp-pl li { border-bottom: 1px solid rgba(255,255,255,.07); }
.vp-pl li a { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 10px; padding: 12px 16px; -webkit-transition: background .2s; transition: background .2s; }
.vp-pl li a:hover { background: rgba(255,255,255,.05); }
.vp-pl li.on a { background: rgba(247,196,51,.1); box-shadow: inset 3px 0 0 #f7c433; }
.vp-pl li i { width: 18px; height: 18px; border-radius: 4px; background: rgba(255,255,255,.12); font-size: 11px; font-style: normal;
    display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-negative: 0; flex: none; margin-top: 2px; color: #aebdde; }
.vp-pl li.on i { background: #f7c433; color: #1b2a44; font-weight: 700; }
.vp-pl .tx { min-width: 0; }
.vp-pl .tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 12.5px; line-height: 1.55; color: #dbe6f8; font-weight: 400; }
.vp-pl li.on .tx b { color: #f7c433; font-weight: 600; }
.vp-pl .tx em { font-style: normal; display: block; font-size: 11.5px; color: #7f93bb; margin-top: 4px; }

/* ---------------- 右栏卡片 ---------------- */
.vp-card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 4px 16px rgba(20,40,80,.06); }
.vp-card h4 { margin: 0 0 12px; font-size: 15px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center;
    -ms-flex-align: center; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #eef1f7; color: #1b2a44; }
.vp-card h4 i { width: 3px; height: 15px; background: #f7c433; border-radius: 2px; }
.vp-info div { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify;
    justify-content: space-between; font-size: 13.5px; line-height: 2.4; color: #5a6a83; }
.vp-info b { color: #1b2a44; font-weight: 600; }

.vp-rank li { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eceff5; }
.vp-rank li:last-child { border-bottom: 0; }
.vp-rank .no { width: 20px; height: 20px; border-radius: 5px; background: #eef2f8; color: #8b98ad; font-size: 12px; font-style: normal;
    display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center;
    -ms-flex-negative: 0; flex: none; margin-top: 9px; }
.vp-rank li:nth-child(1) .no, .vp-rank li:nth-child(2) .no, .vp-rank li:nth-child(3) .no { background: #023793; color: #fff; }
.vp-rank .th { width: 88px; height: 50px; border-radius: 8px; background: #dfe5ef center/cover; -ms-flex-negative: 0; flex: none; position: relative; }
.vp-rank .th i { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.9); }
.vp-rank .th i:after { content: ""; position: absolute; left: 9px; top: 7px; width: 0; height: 0;
    border-left: 7px solid #023793; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.vp-rank .tx a { font-size: 12.5px; line-height: 1.6; color: #1b2a44; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-rank .tx a:hover { color: #023793; }
.vp-rank .tx em { font-style: normal; display: block; font-size: 12px; color: #8b98ad; margin-top: 5px; }

.vp-side .cta { padding: 34px 30px; background: -webkit-linear-gradient(150deg,#023793,#01245e); background: linear-gradient(150deg,#023793,#01245e); color: #fff; }
.vp-side .cta h4 { color: #fff; border-color: rgba(255,255,255,.2); }
.vp-side .cta p { margin: 0; font-size: 13.5px; color: #c3d3f0; line-height: 1.9; }
.vp-side .cta .btn { display: block; text-align: center; margin-top: 15px; background: #f7c433; color: #1b2a44; border-radius: 26px; padding: 11px 0; font-size: 14px; font-weight: 700; }
.vp-side .cta .tel { margin-top: 12px; text-align: center; font-size: 12.5px; color: #a9bde2; }
.vp-side .cta .tel b { display: block; color: #f7c433; font-size: 19px; margin-top: 3px; }
.vp-side .cta .qr { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
    display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal;
    -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; }
.vp-side .cta .qr img { width: 150px; height: 150px; border-radius: 0; background: transparent; }
.vp-side .cta .qr span { margin-top: 10px; font-size: 13px; color: #c3d3f0; line-height: 1.7; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1429px) { .vp-wrap { width: 100%; padding: 0 20px; } }
@media (max-width: 1100px) {
    .vp-cols { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .vp-side { -ms-flex: none; flex: none; width: 100%; }
    .vp-tabbar { position: static; }
    .vp-pl { height: auto !important; }
    .vp-pl ul { max-height: 420px; }
    .vp-relgrid, .vp-prodgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    /* 视频内页右栏（同系列选集 = 选型讲解 / 免费选型·技术咨询 / 全站热门视频）移动端整列隐藏：
       内容页只需播放器 + 简介 + 相关推荐，右栏在 767 以下会拉到正文下方占两三屏（2026-10-24） */
    .vp-side { display: none; }
    /* 1100 以下 .vp-cols 是 column 且 align-items:flex-start → 主栏宽度由内容决定，
       320 窄屏会被内容 Tab 撑到 346px 导致整页横滚，这里强制占满 */
    .vp-main { width: 100%; }
    /* 内容 Tab 单行横向滑动（4 项在 320 下放不下） */
    .vp-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .vp-tabs::-webkit-scrollbar { display: none; }
    .vp-tabs a { -ms-flex: 0 0 auto; flex: 0 0 auto; white-space: nowrap; }
    .vp-tabbar { top: 50px; }
    .vp-tabbar .vp-wrap { padding: 10px 15px; }
    .vp-banner { padding: 34px 0 30px; }
    .vp-banner h1 { font-size: 22px; letter-spacing: 3px; }
    .vp-crumbs { display: block; margin: 8px 0 0; white-space: normal; }
    .vp-banner .sell { font-size: 12.5px; }
    .vp-hd { padding: 18px 18px 14px; }
    .vp-hd h1 { font-size: 19px; }
    .vp-tabs { padding: 0 18px; }
    .vp-tabs a { margin-right: 22px; font-size: 14px; }
    .vp-pane { padding: 18px; }
    .vp-relgrid, .vp-prodgrid { grid-template-columns: 1fr; }
    .vp-meta .act { margin-left: 0; }
    .vp-prevn { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
    .vp-prevn a.r { text-align: left; }
}
