﻿/* 锐捷防火墙2.0 内容区样式 */

/* 描述文案：宽度与 n-page-content 一致，字号 20px 随屏宽缩小 */
.n-page-desc {
    width: 1400px;
    margin: 16px auto 0;
    color: #6A6B6D;
    text-align: center;
    font-size: 20px!important;
    line-height: 150%;
    box-sizing: border-box;
}

/* 高性能：点击播放视频 */
/* Tab 描述：高性能 / 全检测 共用 */
#fw-perf .n-page-content:has(.n-tab-desc),
#fw-detect .n-page-content:has(.n-tab-desc) {
    margin-top: 24px;
}

#fw-perf .n-tab-desc,
#fw-perf .n-page-desc.n-tab-desc,
#fw-detect .n-tab-desc,
#fw-detect .n-page-desc.n-tab-desc {
    margin: 0 auto 40px;
    max-width: 1200px;
    text-align: center;
    color: #6A6B6D;
    font-size: 20px;
    line-height: 150%;
}

#fw-perf .n-click-video,
#fw-detect .n-click-video {
    position: relative;
    margin: 0 auto;
    font-size: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

#fw-perf .n-click-video::after,
#fw-detect .n-click-video::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

#fw-perf .n-click-video .n-click-cover,
#fw-detect .n-click-video .n-click-cover {
    width: 100%;
    display: block;
}

#fw-perf .n-click-video .n-click-play,
#fw-detect .n-click-video .n-click-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    pointer-events: none;
    z-index: 2;
}

#fw-perf .n-click-video .n-click-play img,
#fw-detect .n-click-video .n-click-play img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

#fw-perf .n-click-video video,
#fw-detect .n-click-video video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

#fw-perf .n-click-video.is-playing,
#fw-detect .n-click-video.is-playing {
    cursor: default;
}

#fw-perf .n-click-video.is-playing .n-click-cover,
#fw-perf .n-click-video.is-playing .n-click-play,
#fw-perf .n-click-video.is-playing::after,
#fw-detect .n-click-video.is-playing .n-click-cover,
#fw-detect .n-click-video.is-playing .n-click-play,
#fw-detect .n-click-video.is-playing::after {
    display: none;
}

#fw-perf .n-click-video.is-playing video,
#fw-detect .n-click-video.is-playing video {
    position: static;
    height: auto;
    object-fit: contain;
    opacity: 1;
    pointer-events: auto;
    display: block;
}

#fw-perf .n-page-content {
    margin-top: 40px;
}

/* 视频下方小字备注 */
#fw-perf .fw-video-note,
#fw-detect .fw-video-note {
    margin-top: 16px;
    color: #9B9FA8;
    text-align: center;
    font-size: 12px;
    line-height: 150%;
}

/* 智运维轮播 */
#fw-ops .fw-ops-content {
    overflow: visible;
}

#fwOpsSwiper {
    width: 100%;
    padding-bottom: 44px;
}

#fwOpsSwiper .swiper-slide img {
    width: 100%;
    display: block;
}

#fwOpsSwiper .swiper-pagination {
    bottom: 0;
}

#fwOpsSwiper .swiper-pagination-bullet {
    width: 48px;
    height: 4px;
    border-radius: 0;
    background: #E4E8EB;
    opacity: 1;
    margin: 0 6px;
}

#fwOpsSwiper .swiper-pagination-bullet-active {
    background: #E60039;
}

/* 全检测内容区 */
#fw-detect .n-jiagou-img,
#fw-detect .fw-detect-img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

#fw-detect .n-page-content {
    position: relative;
}

/* 易感知：长图可滚动 */
#fw-perceive .fw-perceive-wrap {
    max-width: 1400px;
    margin: 0 auto;
    max-height: 590px;
    overflow-y: auto;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}

#fw-perceive .fw-perceive-wrap img {
    width: 100%;
    display: block;
}

/* 产品推荐表 */
#product-recommend .fw-product-table-wrap {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#product-recommend .fw-product-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Microsoft YaHei", sans-serif;
}

#product-recommend .fw-product-table th,
#product-recommend .fw-product-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #E3E5E6;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    line-height: 150%;
    color: #6A6B6D;
    box-sizing: border-box;
}

#product-recommend .fw-product-table thead th {
    padding: 14px 20px;
    font-weight: 700;
    color: #2A2B2E;
}

#product-recommend .fw-product-table th:nth-child(1),
#product-recommend .fw-product-table td:nth-child(1) {
    width: 28%;
}

#product-recommend .fw-product-table th:nth-child(2),
#product-recommend .fw-product-table td:nth-child(2) {
    width: 30%;
}

#product-recommend .fw-product-table tbody td:first-child a {
    color: #0175E8;
    font-weight: 700;
    text-decoration: underline;
}

#product-recommend .fw-product-table tbody td:first-child a:hover {
    color: #005bb5;
}

#product-recommend .fw-cell-yes,
#product-recommend .fw-cell-no {
    display: inline-flex;
    align-items: center;
}

#product-recommend .fw-icon-check {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.2 8.2L6.4 11.4L12.8 4.6' stroke='%232A2B2E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#product-recommend .fw-icon-cross {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 4L12 12M12 4L4 12' stroke='%23C5C8CE' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#product-recommend .fw-product-cta {
    text-align: center;
    margin-top: 40px;
}

#product-recommend .fw-product-cta a {
    display: inline-block;
    min-width: 200px;
    padding: 12px 32px;
    background: #e60039;
    color: #fff;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
    border-radius: 4px;
    box-sizing: border-box;
}

#product-recommend .fw-product-cta a:hover {
    background: #c40030;
}

@media screen and (max-width: 1600px) {
    .n-page-desc {
        width: 1200px;
        font-size: 18px!important;
    }
}

@media screen and (max-width: 1280px) {
    .n-page-desc {
        width: 1080px;
        font-size: 16px!important;
    }

    #fw-perf .fw-video-note,
    #fw-detect .fw-video-note {
        font-size: 12px;
    }

    #fw-perf .n-tab-desc,
    #fw-perf .n-page-desc.n-tab-desc,
    #fw-detect .n-tab-desc,
    #fw-detect .n-page-desc.n-tab-desc {
        font-size: 16px;
        max-width: 960px;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 768px) {
    /* 覆盖 common 的 .n-project-page img{width:100%}，避免移动端 Tab/导航箭头被撑满 */
    .n-project-page .n-tabs_m img,
    .n-project-page .n-tabs-resource_m img {
        width: 24px !important;
        max-width: 24px !important;
        height: 24px !important;
        margin-left: 12px;
        flex-shrink: 0;
        object-fit: contain;
        float: right;
        margin-top: 2px;
    }

    .n-project-page .n-nav .nav-show img,
    .n-project-page .n-banner .nav-show img {
        width: 16px !important;
        max-width: 16px !important;
        height: auto !important;
    }

    .n-page-desc {
        width: 100%;
        font-size: 14px!important;
        text-align: left;
    }

    #fw-perf .fw-video-note,
    #fw-detect .fw-video-note {
        font-size: 12px;
        text-align: left;
    }

    #fwOpsSwiper {
        padding-bottom: 32px;
    }

    #fwOpsSwiper .swiper-pagination-bullet {
        width: 32px;
        height: 3px;
        margin: 0 4px;
    }

    #fw-perf .n-click-video .n-click-play,
    #fw-detect .n-click-video .n-click-play {
        width: 48px;
        height: 48px;
    }

    #fw-perf .n-tab-desc,
    #fw-perf .n-page-desc.n-tab-desc,
    #fw-detect .n-tab-desc,
    #fw-detect .n-page-desc.n-tab-desc {
        font-size: 0.875rem;
        text-align: left;
        margin: 0 0 1.25rem;
        max-width: none;
        padding: 0 !important;
    }

    #fw-perceive .fw-perceive-wrap {
        max-height: none;
        overflow: visible;
    }

    #product-recommend .fw-product-table th,
    #product-recommend .fw-product-table td {
        padding: 12px;
        font-size: 12px;
    }

    #product-recommend .fw-product-cta a {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 14px;
    }
}
