@charset "utf-8";
/* ==========================================================================
   药研通 · 公司视频页样式
   适用：/video（PC 列表）、/video/:id（PC 详情）、/m/video（移动）
   主色与站内一致：#0383d3
   ========================================================================== */

/* ---------- 页面底部留白 ---------- */
/* 参照「关于药研通」页：.about-add 的 margin-bottom 是 100px，页脚前实测空白 121px。
   这里给视频页容器同样的 100px，让「有分页 / 无分页 / 详情页」三种情况
   底部空白都等于 121px，不再紧贴页脚。 */
.v-page {
    padding-bottom: 100px;
}

@media screen and (max-width: 767px) {
    .v-page {
        padding-bottom: 40px;
    }
}

/* ---------- 分类筛选 ---------- */
.v-filter {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 0 26px;
}

.v-filter a {
    display: inline-block;
    padding: 8px 24px;
    margin: 0 10px 10px 0;
    border: 1px solid #d7e3ee;
    border-radius: 19px;
    background: #fff;
    color: #4a5560;
    font-size: 15px;
    line-height: 20px;
    text-decoration: none;
    transition: all .2s ease;
}

.v-filter a:hover {
    border-color: #0383d3;
    color: #0383d3;
}

.v-filter a.on {
    background: #0383d3;
    border-color: #0383d3;
    color: #fff;
}

/* ==========================================================================
   左侧分类导航 + 右侧两列（PC 列表页，布局沿用新闻中心 .han_box）
   ========================================================================== */
.v-box {
    /* 与 .v-box div.han_r 的 40px 相加，页脚前留白与「关于药研通」页一致（实测 121px） */
    padding-bottom: 30px;
}

.v-box div.han_r {
    padding-bottom: 40px;
}

.v-side {
    min-height: 300px;
}

.v-side ul.han_ul {
    padding: 8px 10px;
    box-sizing: border-box;
}

.v-side ul.han_ul li.han_li {
    border-bottom: 0;
}

.v-side ul.han_ul li.han_li a {
    display: block;
    height: 46px;
    padding: 0 14px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 46px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background .2s ease, color .2s ease;
}

.v-side ul.han_ul li.han_li a:hover {
    background: #f2f8fd;
    color: #0383d3;
}

.v-side ul.han_ul li.v-on a,
.v-side ul.han_ul li.v-on a:hover {
    background: #0383d3;
    color: #fff;
}

/* 右侧两列视频 */
.v-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 24px;
    gap: 24px;
    margin: 24px 0 0;
}

/* ---------- 视频网格 ---------- */
.v-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    gap: 24px;
}

.v-card {
    display: block;
    background: #fff;
    border: 1px solid #e8eef4;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 42, 67, .04);
    transition: all .25s ease;
}

.v-card:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    border-color: #cfe3f4;
    box-shadow: 0 10px 24px rgba(3, 131, 211, .13);
}

.v-thumb {
    position: relative;
    padding-top: 56.25%;
    background: #dfe8f0;
    overflow: hidden;
}

.v-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.v-card:hover .v-thumb img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

/* 居中播放按钮（纯 CSS 三角，不依赖图标字体） */
.v-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: #d5ecfd;
    box-shadow: 0 0 0 1px rgba(3, 131, 211, .18), 0 4px 14px rgba(3, 131, 211, .22);
    transition: all .25s ease;
}

.v-play::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 15px;
    width: 0;
    height: 0;
    border-left: 15px solid #0383d3;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.v-card:hover .v-play {
    background: #bfe1fa;
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
}

.v-dur {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 2px 7px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
}

.v-body {
    padding: 14px 16px 16px;
}

.v-body h3 {
    margin: 0 0 8px;
    height: 48px;
    overflow: hidden;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #22303c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.v-card:hover .v-body h3 {
    color: #0383d3;
}

.v-meta {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    font-size: 13px;
    line-height: 18px;
    color: #93a1ae;
}

/* ---------- 空状态 ---------- */
.v-empty {
    padding: 60px 0 0;
    text-align: center;
}

.v-empty img {
    width: 120px;
    opacity: .55;
}

.v-empty p {
    margin: 16px 0 0;
    font-size: 16px;
    color: #93a1ae;
}

/* ---------- 分页 ---------- */
.v-pages {
    margin: 46px 0 0;
    text-align: center;
}

.v-pages a,
.v-pages span {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    margin: 0 4px 8px;
    border: 1px solid #d7e3ee;
    border-radius: 4px;
    background: #fff;
    color: #4a5560;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
}

.v-pages a:hover {
    border-color: #0383d3;
    color: #0383d3;
}

.v-pages .cur {
    background: #0383d3;
    border-color: #0383d3;
    color: #fff;
}

.v-pages .dis {
    background: #f7f9fb;
    color: #c3ccd5;
}

/* ---------- 详情页 ---------- */
.vd-head {
    margin: 0 0 20px;
}

/* 标题行：左标题、右侧「返回公司视频」 */
.vd-head-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.vd-head-top h1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

/* 返回按钮：左箭头用纯 CSS 画，不依赖图标字体 */
.v-back {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    margin: 4px 0 0 24px;
    padding: 0 16px;
    border: 1px solid #d7e3ee;
    border-radius: 18px;
    background: #fff;
    color: #4a5560;
    font-size: 14px;
    line-height: 32px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.v-back i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: 1px;
}

.v-back:hover {
    border-color: #0383d3;
    background: #f4faff;
    color: #0383d3;
}

/* 页面底部的大号返回按钮（滚到相关视频之后用） */
.v-back-lg {
    margin: 0;
    padding: 0 32px;
    border-color: #0383d3;
    background: #0383d3;
    color: #fff;
    font-size: 16px;
    line-height: 40px;
    border-radius: 21px;
    box-shadow: 0 4px 14px rgba(3, 131, 211, .22);
}

.v-back-lg i {
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-left-width: 1.5px;
    border-bottom-width: 1.5px;
}

.v-back-lg:hover {
    border-color: #0772b8;
    background: #0772b8;
    color: #fff;
    box-shadow: 0 6px 18px rgba(3, 131, 211, .28);
}

.vd-backfoot {
    margin: 48px 0 0;
    text-align: center;
}

.vd-head h1 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 38px;
    font-weight: 500;
    color: #22303c;
}

.vd-meta {
    font-size: 14px;
    color: #93a1ae;
}

.vd-meta span {
    margin-right: 18px;
}

.vd-player {
    position: relative;
    padding-top: 56.25%;
    background: #0d1b26;
    border-radius: 6px;
    overflow: hidden;
}

.vd-player video,
.vd-player iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #0d1b26;
}

.vd-linkbox {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.vd-linkbox a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 21px;
    background: #0383d3;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.vd-desc {
    margin: 24px 0 0;
    padding: 18px 22px;
    background: #f6f9fc;
    border-left: 3px solid #0383d3;
    border-radius: 4px;
    font-size: 15px;
    line-height: 28px;
    color: #4a5560;
}

.vd-relate {
    margin: 54px 0 0;
}

.vd-relate-t {
    margin: 0 0 22px;
    font-size: 20px;
    font-weight: 500;
    color: #22303c;
}

/* 相关视频用 4 列 */
.vd-relate .v-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    gap: 20px;
}

.vd-relate .v-body h3 {
    font-size: 15px;
    height: 44px;
    line-height: 22px;
}

/* ==========================================================================
   响应式：1200 以下随 .cx 流式；网格逐级降列
   ========================================================================== */
@media screen and (max-width: 1199px) {
    .v-grid {
        grid-gap: 20px;
        gap: 20px;
    }
}

@media screen and (max-width: 991px) {
    .v-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vd-relate .v-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .v-box {
        padding-bottom: 20px;
    }

    .v-box div.han_r {
        padding-bottom: 20px;
    }

    .v-side {
        min-height: 0;
    }

    .v-two {
        grid-gap: 16px;
        gap: 16px;
        margin-top: 16px;
    }

    .v-filter a {
        padding: 6px 16px;
        font-size: 13px;
        margin: 0 8px 10px 0;
    }

    .v-body {
        padding: 12px 12px 14px;
    }

    .v-body h3 {
        font-size: 14px;
        line-height: 21px;
        height: 42px;
    }

    .v-meta {
        font-size: 12px;
    }

    .vd-head h1 {
        font-size: 20px;
        line-height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .v-grid {
        grid-gap: 12px;
        gap: 12px;
    }

    .v-two {
        grid-template-columns: 1fr;
        grid-gap: 12px;
        gap: 12px;
    }

    .v-play {
        width: 40px;
        height: 40px;
        margin: -20px 0 0 -20px;
    }

    .v-play::after {
        left: 15px;
        top: 12px;
        border-left-width: 12px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .v-dur {
        font-size: 11px;
        padding: 1px 5px;
    }
}

/* ==========================================================================
   移动端页面（/m/video）专用
   ========================================================================== */
.mv-wrap {
    padding: 10px 15px 22px;
}

.mv-filter {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 6px;
}

.mv-filter::-webkit-scrollbar {
    display: none;
}

.mv-filter a {
    flex: 0 0 auto;
    display: inline-block;
    padding: 6px 16px;
    margin-right: 8px;
    border: 1px solid #d7e3ee;
    border-radius: 16px;
    background: #fff;
    color: #4a5560;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
}

.mv-filter a.on {
    background: #0383d3;
    border-color: #0383d3;
    color: #fff;
}

.mv-list {
    margin-top: 12px;
}

.mv-card {
    display: block;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(16, 42, 67, .07);
}

.mv-thumb {
    position: relative;
    padding-top: 56.25%;
    background: #dfe8f0;
}

.mv-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-thumb .v-play {
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
}

.mv-thumb .v-play::after {
    left: 17px;
    top: 13px;
    border-left-width: 14px;
    border-top-width: 10px;
    border-bottom-width: 10px;
}

.mv-body {
    padding: 10px 12px 12px;
}

.mv-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    color: #22303c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mv-meta {
    font-size: 12px;
    color: #93a1ae;
}

.mv-meta span {
    margin-right: 10px;
}

.mv-pages {
    padding: 14px 15px 22px;
    text-align: center;
}

.mv-pages a,
.mv-pages span {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    padding: 0 10px;
    margin: 0 4px;
    border: 1px solid #d7e3ee;
    border-radius: 4px;
    background: #fff;
    color: #4a5560;
    font-size: 13px;
    text-decoration: none;
}

.mv-pages .cur {
    background: #0383d3;
    border-color: #0383d3;
    color: #fff;
}

.mv-pages .dis {
    background: #f7f9fb;
    color: #c3ccd5;
}

.mv-empty {
    padding: 70px 0;
    text-align: center;
    color: #93a1ae;
    font-size: 14px;
}

/* 移动端详情页底部留白占位（列表页由 .mv-wrap / .mv-pages 的 padding-bottom 提供） */
.mv-gap {
    height: 22px;
}

/* 移动端详情 */
.mvd-player {
    position: relative;
    padding-top: 56.25%;
    background: #0d1b26;
}

.mvd-player video,
.mvd-player iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.mvd-info {
    padding: 14px 15px 0;
}

/* 标题行：左标题、右侧「返回」 */
.mvd-info-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.mvd-info-top h1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

.mvd-back {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    margin: 1px 0 0 12px;
    padding: 0 10px;
    border: 1px solid #d7e3ee;
    border-radius: 14px;
    background: #fff;
    color: #4a5560;
    font-size: 12px;
    line-height: 26px;
    text-decoration: none;
    white-space: nowrap;
}

.mvd-back i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    vertical-align: 1px;
}

/* 移动端底部返回按钮 */
.mvd-backfoot {
    margin: 20px 0 0;
    text-align: center;
}

.mvd-backfoot .mvd-back {
    margin: 0;
    padding: 0 24px;
    border-color: #0383d3;
    background: #0383d3;
    color: #fff;
    font-size: 14px;
    line-height: 38px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(3, 131, 211, .22);
}

.mvd-backfoot .mvd-back i {
    width: 7px;
    height: 7px;
    margin-right: 7px;
}

.mvd-info h1 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
    color: #22303c;
}

.mvd-meta {
    font-size: 12px;
    color: #93a1ae;
}

.mvd-meta span {
    margin-right: 12px;
}

.mvd-desc {
    margin: 14px 15px 0;
    padding: 12px 14px;
    background: #f6f9fc;
    border-left: 3px solid #0383d3;
    border-radius: 4px;
    font-size: 13px;
    line-height: 24px;
    color: #4a5560;
}

.mvd-relate {
    margin-top: 22px;
    padding: 0 15px;
}

.mvd-relate-t {
    margin: 0 0 12px;
    font-size: 15px;
    color: #22303c;
    font-weight: 500;
}
