/* ================================
名称：post.css
* 创建日期：2025-11-27
* 描述：产品详情页及相关组件样式
* 具体调用参数：无
================================ */
.post-detail {
    margin: 0 auto;
}

.post-detail h4 {
    text-align: center;
    margin-bottom: 1.5em;
}

.post-detail .post-meta {
    text-align: center;
    color: #999;
}

.post-detail .post-meta span {
    margin: 0 0.5em;
}

.post-detail .content {
    margin: auto 10%;
    font-size: 1em;
}

.post-detail .content p:not(:has(img)) {
    text-indent: 2em;
    margin: 0.75em auto;
}

.post-detail .content img {
    margin: .5em auto;
    display: flex;
    width: 100%;
}

/* 产品选项卡导航 */
/* 删除:.product-nav-link {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
} */

/* 删除:.product-nav-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

.product-tab-content {
    background-color: #f2f6fd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* padding: 1em; */
}

.product-tab-content .container {
    position: relative;
    /* padding: 1em; */
    /* margin: 1em auto; */
    /* overflow: hidden; */
    height: auto;
}

.product-tab-content .container .tab-pane {
    /* transition: opacity 0.3s ease; */
    display: none;
    position: relative;
    /* 绝对定位 */
    /* 顶部对齐 */
    /* 左侧对齐 */
    width: 100%;
    /* 宽度撑满容器 */
    opacity: 0;
    /* 默认隐藏 */
    transition: opacity 0.3s ease;
}

.product-tab-content .tab-pane.show.active {
    display: block;
    opacity: 1;
    z-index: 1;
    /* 确保当前面板在最上层 */
}

/* 产品项 */
.product-item-link .product-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.product-item-link .product-item-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.product-item-link .tab-panel-item {
    /* position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px; */
    /* border-radius: 0.25em; */
    /* margin: .75em auto; */
    border-radius: 0.25em;
    margin: 1em auto;
    background-size: cover;
    min-height: 8em;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-item-link .tab-panel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgb(255, 255, 255) 100%);
    /* opacity: 0; */
    transition: opacity 0.3s ease;
    /* z-index: 1; */
}

.product-item-link .tab-panel-item img {
    position: inherit;
    z-index: 10;
    height: 2.75em;
    /* width: 4em; */
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.product-item-link .tab-panel-item p {
    position: inherit;
    text-align: center;
    /* z-index: 10;
    line-height: 1.5;
    padding: 1em 1em 0;
    font-size: 1.25em; */
    color: #000;
    font-weight: 600;
}

/* 激活状态 */
.product-item-link.active .tab-panel-item {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    background-color: #007bff;
}

.product-item-link.active .tab-panel-item::before {
    opacity: 0.5;
}

.product-item-link.active .tab-panel-item p {
    /* background: #007bff; */
    color: white;
}

.product-item-link.active .tab-panel-item img {
    filter: brightness(0) invert(1);
}

/* 悬停效果 */
.product-item-link:hover .tab-panel-item {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-item-link:hover .tab-panel-item::before {
    opacity: 0.5;
}

.product-item-link:hover .tab-panel-item {
    transform: scale(1.05);
    background-color: #007bff80;
}

/* 选项卡面板过渡 */
.product-item-link .tab-pane {
    transition: opacity 0.3s ease;
}

.product-item-link .tab-pane.fade {
    opacity: 0;
}

.product-item-link .tab-pane.fade.show {
    opacity: 1;
}

/* 内容区域悬停保护 */
/* body.tab-content-hovered .tab-panel-item {
    pointer-events: none;
}

body.tab-content-hovered .product-item-link {
    pointer-events: none;
} */
/* .product-tab-content .row {
    margin: 0;
    padding: 0;
}

.product-tab-content .row>* {
    margin: 0;
    padding: 0;
} */

.post-nav {
    line-height: 3em;
}

.post-nav a {
    margin: 0;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    /* transition: all 0.3s ease; */
    border: none;
    /* padding: 0.5em 1em;
    display: flex;
    justify-content: flex-start; */
    line-height: 1;
    padding: .75em 1em;
    display: inline;
    border-radius: .25em;
}

.post-nav a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: calc(100% - 5em);
}


.post-nav a i {
    padding-left: 0.25em;
}

/* 为下一篇文章的右对齐添加特定样式 */
/* .post-nav .text-end a {
    justify-content: flex-end;
}

.post-nav .text-end a span {
    display: inline-block;
    max-width: calc(100% - 2em);
} */

.post-nav a:hover {
    background-color: #007bff;
    border-color: #007bff80;
    color: #fff;
}

/*
 * 产品详情样式
 */

/*
 * 通用章节样式
 */
.section-title {
    margin-bottom: 40px;
    /* background-image: url('/assets/images/24.svg'); */
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 3em;
    position: relative;
}

.section-title h4 {
    font-weight: 700;
    margin-top: .5em;
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* .section-title h3::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #0d6efd;
    /* Bootstrap 主色 */
/* bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
} */

.section-title p {
    letter-spacing: 1px;
    font-size: 3em;
    font-weight: 900;
    text-align: center;
    opacity: 0.2;
    background-image: linear-gradient(180deg, #007bff 25%, rgba(255, 255, 255, 0.00) 75%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1em;
    position: absolute;
    top: 0;
    /* 在一行显示 空格不换行*/
    white-space: nowrap;
}

.py-5 {
    padding-top: 0em !important;
    padding-bottom: 4em !important;
}

/* 产品介绍部分 */
.product-title {
    margin-bottom: 0.5em;
    text-align: right;
}

.product-english-title {
    /* color: #888; */
    margin-bottom: 1.5em;
    text-align: right;
    font-weight: bold;
    opacity: 75%;
    background-image: linear-gradient(180deg, #007bff 25%, rgba(255, 255, 255, 0.00) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-detail .product-title2 {
    position: initial;
}


.solution-detail .product-english-title2 {
    /* color: #888; */
    font-size: 1.5em;
    margin-top: 0.25em;
    letter-spacing: 1px;
    /* text-align: center; */
    /* font-weight: bold; */
    opacity: 75%;
    background-image: linear-gradient(180deg, #007bff 25%, rgba(255, 255, 255, 0.00) 100%);
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

.product-description {
    font-size: 1.25em;
    font-weight: bold;
    text-indent: 2em;
    line-height: 2;
    color: #555;
    text-align: justify;
}

.ps-md-5 {
    padding-left: 3em !important;
}

/* 产品特点部分 */
.product-features .feature-item {
    display: flex;
    align-items: flex-start;
    /* 顶部对齐 */
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.product-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-features .feature-icon {
    margin-right: 25px;
}

.product-features .feature-icon img {
    width: 50px;
    height: 50px;
}

.product-features .feature-text h5 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-features .feature-text p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 产品功能与性能部分 */
.function-list,
.performance-list {
    border: 1px solid #C0CFDF80;
    border-radius: 8px;
    overflow: hidden;
}

.function-item,
.performance-item {
    padding: 25px;
    border-bottom: 1px solid #C0CFDF80;
    background-color: #fff;
}

.function-item:last-child,
.performance-item:last-child {
    border-bottom: none;
}

.function-item .row,
.performance-item .row {
    align-items: flex-start;
}

.function-title h6,
.performance-title h6 {
    font-weight: 600;
    font-size: 1em;
    color: #343a40;
}

.function-description p,
.performance-description p {
    margin-bottom: 0;
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95em;
}

/* *********************** */
/* 产品特点 */
.product-features-new .feature-card {
    display: flex;
    border-radius: .5em;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    height: 100%;
    transition: transform 0.3s ease;
}

.product-features-new .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-features-new .feature-card-icon-wrap {
    flex: 0 0 40%;
    /* 图标部分占据35%宽度 */
    background: #0076dd08;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 20px; */
}

.product-features-new .feature-card-icon-wrap img {
    max-width: 4em;
    max-height: 4em;
}

.product-features-new .feature-card-text-wrap {
    flex: 1;
    /* 文本部分占据剩余空间 */
    /* background-color: #007bff; */
    background: #0076dd16;
    /* color: #ffffff; */
    padding: 2em;
}

.product-features-new .feature-card-text-wrap h6 {
    /* font-weight: 700;*/
    font-size: 1.25rem; 
    margin-bottom: .5em;
    text-align: center;
    /* color: #ffffff; */
}

.product-features-new .feature-card-text-wrap p {
    /* font-size: 0.95rem; */
    line-height: 1.5;
    opacity: 0.6;
    text-indent: 2em;
    /* margin-bottom: 0; */
    /* color: #ffffff; */
}

/* *********************** */
/* 产品功能 */
.product-functions-new .function-row {
    border-radius: .5em;
    overflow: hidden;
    background: #0076dd16;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    margin-left: calc(var(--bs-gutter-x) * .1);
    margin-right: calc(var(--bs-gutter-x) * .1);
}

.product-functions-new .function-row>.col-lg-3,
.product-functions-new .function-row>.col-md-6 {
    padding-left: 0;
    padding-right: 0;
}

/* 默认状态：透明背景 */
.product-functions-new .function-card {
    padding: 2em 1.2em;
    height: 100%;
    background-color: transparent;
    color: inherit;
    transition: all 0.3s ease;
}

/* 切换颜色 */
/* 大屏幕 4列布局 (错位背景) */
@media (min-width: 992px) {

    /* 第1, 3, 6, 8... 个卡片设为有色背景 */
    .product-functions-new .function-row>div:nth-child(8n+1) .function-card,
    .product-functions-new .function-row>div:nth-child(8n+3) .function-card,
    .product-functions-new .function-row>div:nth-child(8n+6) .function-card,
    .product-functions-new .function-row>div:nth-child(8n+8) .function-card {
        background-color: #809DBD;
        color: #ffffff;
    }
}

/* 中等屏幕 2列布局 (错位背景) */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* 第1, 4, 5, 8... 个卡片设为有色背景 */
    .product-functions-new .function-row>div:nth-child(4n+1) .function-card,
    .product-functions-new .function-row>div:nth-child(4n+4) .function-card {
        background-color: #809DBD;
        color: #ffffff;
    }
}

/* 小屏幕 1列布局 (交替背景) */
@media (max-width: 767.98px) {
    .product-functions-new .function-row>div:nth-child(odd) .function-card {
        background-color: #809DBD;
        color: #ffffff;
    }
}

/* .product-functions-new .function-row>div:nth-child(even) .function-card {
    background-color: transparent;
} */

.product-functions-new .function-card h6 {
    /* font-weight: 700;*/
    font-size: 1.25rem; 
    margin-bottom: .5em;
    text-align: center;
}

.product-functions-new .function-card p {
    line-height: 1.5;
    opacity: 0.75;
    text-indent: 2em;
}

/* *********************** */
/* 产品性能 */
.product-performance-new .performance-table {
    border: 1px solid #C0CFDF80;
    border-radius: .5em;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
}

.product-performance-new .performance-row {
    display: flex;
    border-bottom: 1px solid #C0CFDF80;
}

.product-performance-new .performance-row:last-child {
    border-bottom: none;
}

.product-performance-new .performance-key {
    flex: 0 0 30%;
    /* 键列占据30%宽度 */
    background-color: #0076dd10;
    /* 浅灰色 */
    padding: 1em;
    font-weight: 600;
    /* color: #343a40; */
    display: flex;
    align-items: center;
    border-right: 1px solid #C0CFDF80;
}

.product-performance-new .performance-value {
    flex: 1;
    /* 值列占据剩余部分 */
    /* background-color: #ffffff; */
    padding: 1em;
}

.product-performance-new .performance-value p {
    margin-bottom: 0;
    line-height: 1.6;
    /* color: #495057; */
}

/* tag样式 */
.related-products-section {
    display: block;
    position: relative;
    /* overflow: hidden; */
    margin-top: 2em;
}

/* .related-products-section .owl-stage-outer {
    overflow: visible !important;
}

.related-products-section .owl-stage {
    width: auto !important;
} */

/* .related-products-section .owl-item {
    margin-right: 1em;
} */

.related-products-section .item {
    border-radius: 0.25em;
    background-color: #0076dd08;
    position: relative;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    /* margin: 0 0.5em; */
    /* width: 16em; */
    flex-shrink: 0; /* 防止子元素被压缩 */
}

.related-products-section .item img {
    width: 5em;
    height: 5em;
    display: block;
    margin: 2em auto;
}

.related-products-section .item p {
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    padding: .75em 0;
    background-color: #0076dd16;
}

/* 轮播导航箭头 for related-products */
.related-products-section .owl-nav {
    display: block !important;
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.related-products-section .owl-nav button {
    pointer-events: auto;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #fff !important;
    color: #000 !important;
    border-radius: .25em !important;
    width: 3em !important;
    height: 3em !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    z-index: 3 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    display: flex !important; /* 使用flex居中内容 */
    justify-content: center;
    align-items: center;
}

.related-products-section .owl-nav button:hover {
    background: #f0f0f0 !important;
}

.related-products-section .owl-nav button.owl-prev {
    left: 1em !important;
}

.related-products-section .owl-nav button.owl-next {
    right: 1em !important;
}

.related-products-section .owl-nav button span {
    line-height: .75em !important;
    font-size: 2em !important;
    /* 确保 span 内容可见 */
    color: #000 !important;
}

/* 方案 */
.solution-content {
    text-indent: 2em;
    line-height: 1.8;
}

.solution-content p {
    text-indent: 2em;
}