/* ========== 过渡模块样式（强制覆盖，与 about 页面完全一致） ========== */
.product-detail-banner {
    background: linear-gradient(135deg, #1a5aaa 0%, #0e3d6e 100%);
    padding: 40px 0;
    color: #fff;
}
.product-detail-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 1400px;
    margin: 0 auto;
}
.banner-left {
    flex: 1;
}
.banner-left h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #fff;
}
.breadcrumb {
    font-size: 14px;
    opacity: 0.85;
}
.breadcrumb a,
.breadcrumb span {
    color: #fff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    margin: 0 6px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 40px;
    color: #fff !important;          /* 强制白色，覆盖 common.css 的 color: inherit */
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}
.back-link:hover {
    background: rgba(255,255,255,0.3);
    color: #fff !important;
}

/* 响应式容器宽度 */
@media (max-width: 1440px) {
    .product-detail-banner .container { width: 1280px; }
}
@media (max-width: 1280px) {
    .product-detail-banner .container { width: 1080px; }
}
@media (max-width: 1080px) {
    .product-detail-banner .container { width: 94%; }
}
@media (max-width: 768px) {
    .product-detail-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .banner-left h1 { font-size: 26px; }
}

/* ========== 案例列表页专属样式（不受影响） ========== */
.case-page {
    padding: 50px 0;
}
.case-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.tab-btn {
    background: #ffffff;
    border: 1px solid #e2edf7;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 28px;
    border-radius: 48px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #2c4c6e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-decoration: none;
    display: inline-block;
}
.tab-btn.active {
    background: #1a5aaa;
    color: #fff !important;
    border-color: #1a5aaa;
    box-shadow: 0 8px 18px rgba(26,90,170,0.2);
}
.tab-btn:hover:not(.active) {
    background: #0e4a8a;        /* 深蓝色背景 */
    border-color: #0e4a8a;
    color: #fff !important;     /* 白色文字 */
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.case-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid #eff3f8;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 36px -12px rgba(0, 32, 64, 0.18);
    border-color: #cddff0;
}
.case-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f2f5f9;
}
.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.case-card:hover .case-img img {
    transform: scale(1.05);
}
.case-content {
    padding: 22px 20px 24px;
}
.case-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #1a5aaa;
    background: #eef5ff;
    padding: 4px 14px;
    border-radius: 40px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
.case-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f2b3d;
    line-height: 1.3;
}
.case-title a {
    color: #0f2b3d;
    text-decoration: none;
}
.case-title a:hover {
    color: #1a5aaa;
}
.case-desc {
    font-size: 14px;
    color: #4b6b8c;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #1a5aaa;
    text-decoration: none;
    border-bottom: 1px dashed #bbd4f0;
    transition: gap 0.2s;
}
.case-more:hover {
    gap: 10px;
    border-bottom-color: #1a5aaa;
}
.pagination {
    margin-top: 58px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    color: #1f3b4c;
    font-weight: 500;
    border: 1px solid #e2edf7;
    transition: all 0.2s;
    font-size: 14px;
}
.pagination a.active {
    background: #1a5aaa;
    color: #fff;
    border-color: #1a5aaa;
    box-shadow: 0 4px 8px rgba(26,90,170,0.2);
}
.pagination a:hover:not(.active):not(.disabled) {
    background: #ecf5fd;
    border-color: #b9d3f2;
    color: #1a5aaa;
}
.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f8fafc;
}
.no-case {
    text-align: center;
    padding: 60px 0;
    font-size: 18px;
    color: #7e95ad;
    background: #fff;
    border-radius: 32px;
    grid-column: 1 / -1;
}
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .case-img {
        height: 190px;
    }
}
@media (max-width: 480px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}
/* 覆盖过渡模块面包屑悬停颜色，保持白色 */
.product-detail-banner .breadcrumb a:hover {
    color: #fff !important;
    text-decoration: underline;
}