/* ========================================
   成功案例页面样式
   ======================================== */

/* 移动端全局约束 - 防止内容溢出 */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* 确保container不会超出 */
    .case-detail-content .container,
    .case-detail-content .content-wrapper {
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .case-detail-content,
    .case-detail-content *:not(br):not(hr) {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .case-detail-body,
    .case-detail-body * {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .case-detail-body img,
    .case-detail-body video,
    .case-detail-body iframe,
    .case-detail-body embed,
    .case-detail-body object {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* 确保表格不会溢出 */
    .case-detail-body table {
        display: block !important;
        overflow-x: auto !important;
        max-width: 100% !important;
    }
}

/* 页面Banner */
.page-banner {
    margin-top: 70px;
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0077b6 100%);
}

.page-banner .banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-banner .banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

/* 数据统计 */
.case-stats {
    padding: 60px 0;
    background: var(--bg-gray);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 56px;
    font-weight: bold;
    color: var(--primary-color);
    display: inline;
}

.stat-unit {
    font-size: 24px;
    color: var(--primary-color);
    display: inline;
    margin-left: 5px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 10px;
}

/* 案例筛选 */
.case-filter {
    padding: 40px 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 案例列表 */
.case-list {
    padding: 60px 0;
    background: var(--bg-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    display: flex;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-logo {
    width: 200px;
    min-height: 250px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.case-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.case-content {
    flex: 1;
    padding: 30px;
}

.case-content h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.case-industry {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-industry i {
    margin-right: 5px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.case-tags span {
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 15px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

/* 客户评价 */
.testimonials,
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-logo {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.testimonial-logo img {
    max-width: 120px;
    height: auto;
}

.testimonial-image {
    width: 100%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0 15px;
}

.testimonial-content {
    padding: 15px 20px;
    text-align: center;
}

.testimonial-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.testimonial-customer {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
    text-align: right;
}

.testimonial-content i {
    font-size: 30px;
    color: var(--primary-light);
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 30px;
    color: var(--primary-color);
}

.author-info h4 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-lg {
    padding: 16px 50px;
    font-size: 18px;
}

.cta-btns .btn-primary {
    background: white;
    color: var(--primary-color) !important;
}

.cta-btns .btn-primary:hover {
    background: var(--bg-gray);
}

.cta-btns .btn-outline {
    border-color: white;
    color: white !important;
}

.cta-btns .btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
}

/* 响应式 */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .stats-row {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .case-card {
        flex-direction: column;
    }
    
    .case-logo {
        width: 100%;
        min-height: 150px;
    }
    
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   案例页面介绍Banner
   ======================================== */
.org-intro-banner {
    padding: 180px 0 140px;
    background: rgb(230, 247, 255);
    margin-top: 0;
}

.org-intro-banner .intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.org-intro-banner .intro-left {
    flex: 0 0 45%;
    min-width: 0;
}

.org-intro-banner .intro-left h1 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.org-intro-banner .intro-left p {
    font-size: 17px;
    color: #555;
    line-height: 2;
    margin-bottom: 36px;
    text-align: justify;
}

.org-intro-banner .btn-demo {
    display: inline-block;
    padding: 16px 42px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 160, 234, 0.2);
}

.org-intro-banner .btn-demo:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 234, 0.35);
}

.org-intro-banner .btn-demo:active {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 160, 234, 0.25);
}

.org-intro-banner .intro-right {
    flex: 0 0 50%;
    min-width: 0;
}

.org-intro-banner .intro-right img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.org-intro-banner .intro-right img:hover {
    transform: scale(1.02);
}

/* 商务服务介绍区域 - 无边框无阴影样式 */
.business-service-intro .intro-right img {
    border-radius: 0;
    box-shadow: none;
}

.business-service-intro .intro-right img:hover {
    transform: none;
}

/* ========================================
   案例筛选下拉栏
   ======================================== */
.cases-filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-select-wrap {
    position: relative;
}

.filter-select {
    position: relative;
    min-width: 160px;
    user-select: none;
}

.filter-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    border: 1.5px solid #d0dce8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 160px;
}

.filter-select-trigger:hover,
.filter-select.open .filter-select-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 234, 0.1);
}

.filter-select.selected .filter-select-trigger {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-arrow {
    font-size: 12px;
    color: #aaa;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.filter-select.open .filter-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1.5px solid #d0dce8;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 100;
    display: none;
    max-height: 280px;
    overflow-y: auto;
}

.filter-select.open .filter-dropdown {
    display: block;
}

.filter-option {
    padding: 9px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.filter-option:hover {
    background: #f0f7fd;
    color: var(--primary-color);
}

.filter-option.active {
    color: var(--primary-color);
    font-weight: 500;
    background: #f0f7fd;
}

@media (max-width: 768px) {
    .cases-filter-bar {
        gap: 12px;
        margin-bottom: 24px;
    }

    .filter-select,
    .filter-select-trigger {
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .cases-filter-bar {
        gap: 10px;
    }

    .filter-select,
    .filter-select-trigger {
        min-width: 0;
        width: calc((100vw - 60px) / 3);
        font-size: 13px;
        padding: 8px 10px;
    }

    .filter-option {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ========================================
   案例展示列表（新版）
   ======================================== */
.cases-list-section {
    padding: 80px 0;
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.case-item .case-logo-box {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 70px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    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;
    overflow: hidden;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.case-item .case-logo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    -o-object-fit: contain;
    object-fit: contain;
}

.case-item:hover .case-bg-image {
    transform: scale(1.05);
}

.case-info {
    padding: 25px 20px;
}

.case-info h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 12px;
}

.case-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 63px;
}

.case-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-item:hover .case-link {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.case-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.case-item:hover .case-link i {
    transform: translateX(3px);
}

/* 案例展示列表响应式设计 */
@media (max-width: 1200px) {
    .org-intro-banner .intro-content {
        gap: 50px;
    }
    
    .org-intro-banner .intro-left h1 {
        font-size: 36px;
    }
    
    .org-intro-banner .intro-left p {
        font-size: 16px;
    }
    
    .cases-list-section {
        padding: 70px 0;
    }
    
    .cases-grid {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .org-intro-banner {
        padding: 150px 0 100px;
    }
    
    .org-intro-banner .intro-content {
        flex-direction: column;
        gap: 50px;
        max-width: 700px;
    }
    
    .org-intro-banner .intro-left,
    .org-intro-banner .intro-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .org-intro-banner .intro-left {
        text-align: center;
    }
    
    .org-intro-banner .intro-left h1 {
        font-size: 38px;
    }
    
    .cases-list-section {
        padding: 60px 0;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .org-intro-banner {
        padding: 130px 0 80px;
    }
    
    .org-intro-banner .intro-content {
        gap: 40px;
    }
    
    .org-intro-banner .intro-left h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .org-intro-banner .intro-left p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 28px;
    }
    
    .org-intro-banner .btn-demo {
        padding: 14px 36px;
        font-size: 15px;
    }
    
    .cases-list-section {
        padding: 50px 0;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-image-wrapper {
        height: 160px;
    }
    
    .case-item .case-logo-box {
        width: 140px;
        height: 70px;
    }
    
    .case-info {
        padding: 20px 18px;
    }
    
    .case-info h3 {
        font-size: 18px;
    }
    
    .case-info p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .org-intro-banner {
        padding: 110px 0 60px;
    }
    
    .org-intro-banner .intro-left h1 {
        font-size: 28px;
    }
    
    .org-intro-banner .intro-left p {
        font-size: 14px;
    }
}

/* ========================================
   案例详情页Banner样式
   ======================================== */
.case-detail-banner .intro-left h1 {
    font-size: 48px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.case-detail-banner .intro-left p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.case-detail-info {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.case-detail-info .info-item {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: #555;
}

.case-detail-info .info-item i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.case-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.case-actions .btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.case-actions .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 160, 234, 0.3);
}

.case-actions .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.case-actions .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 160, 234, 0.3);
}

.case-detail-banner .intro-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* 案例详情页响应式 */
@media (max-width: 992px) {
    .case-detail-banner {
        padding: 140px 0 100px;
    }
    
    .case-detail-banner .intro-left h1 {
        font-size: 40px;
    }
    
    .case-detail-info {
        gap: 20px;
    }
    
    .case-detail-banner .intro-right img {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .case-detail-banner {
        padding: 120px 0 80px;
    }
    
    .case-detail-banner .intro-left h1 {
        font-size: 30px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .case-detail-banner .intro-left p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .case-detail-info {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
        align-items: flex-start;
    }
    
    .case-detail-info .info-item {
        font-size: 14px;
    }
    
    .case-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .case-actions .btn-primary,
    .case-actions .btn-outline {
        text-align: center;
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .case-detail-banner .intro-right img {
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 576px) {
    .case-detail-banner {
        padding: 100px 0 60px;
    }
    
    .case-detail-banner .intro-left h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .case-detail-banner .intro-left p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .case-detail-info {
        margin-bottom: 20px;
    }
    
    .case-detail-info .info-item {
        font-size: 13px;
    }
    
    .case-detail-info .info-item i {
        font-size: 12px;
    }
    
    .case-actions {
        gap: 10px;
    }
    
    .case-actions .btn-primary,
    .case-actions .btn-outline {
        padding: 11px 20px;
        font-size: 14px;
        border-width: 1.5px;
    }
    
    .case-detail-banner .intro-right img {
        border-radius: 6px;
    }
}

/* ========================================
   案例详情内容区域
   ======================================== */
.case-detail-content {
    padding: 80px 0;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.case-detail-content .content-wrapper {
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

.case-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    min-width: 0;
}

.case-detail-body > * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.case-detail-body h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 40px 0 20px;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin: 30px 0 15px;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin: 25px 0 12px;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body h5,
.case-detail-body h6 {
    color: #1a1a1a;
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body p {
    margin-bottom: 20px;
    text-align: justify;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body ul,
.case-detail-body ol {
    margin: 20px 0;
    padding-left: 25px;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body li {
    margin-bottom: 10px;
    line-height: 1.8;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
}

.case-detail-body *:not(table):not(tbody):not(tr):not(thead):not(tfoot) {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.case-detail-body div,
.case-detail-body span,
.case-detail-body a,
.case-detail-body strong,
.case-detail-body em,
.case-detail-body section,
.case-detail-body article,
.case-detail-body aside {
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.case-detail-body img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: contain;
}

.case-detail-body figure {
    max-width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.case-detail-body figure img {
    margin: 0;
}

.case-detail-body blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    color: #555;
    font-style: italic;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.case-detail-body pre,
.case-detail-body code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
    display: block;
    box-sizing: border-box;
}

.case-detail-body pre {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 20px 0;
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

.case-detail-body code {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.case-detail-body table {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.case-detail-body table th,
.case-detail-body table td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.case-detail-body table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #1a1a1a;
}

.case-detail-body table tr:hover {
    background: #fafafa;
}

/* 表格容器 */
.case-detail-body .table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

/* 多媒体元素 */
.case-detail-body iframe,
.case-detail-body video,
.case-detail-body embed,
.case-detail-body object {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    display: block;
    margin: 20px 0;
}

.case-detail-body video {
    border-radius: 8px;
}

/* 响应式视频容器 */
.case-detail-body .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
}

.case-detail-body .video-wrapper iframe,
.case-detail-body .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* 案例详情内容响应式 */
@media (max-width: 768px) {
    .case-detail-content {
        padding: 60px 0;
    }
    
    .case-detail-content .content-wrapper {
        padding: 0 15px;
    }
    
    .case-detail-body {
        font-size: 15px;
    }
    
    .case-detail-body h2 {
        font-size: 24px;
        margin: 30px 0 15px;
    }
    
    .case-detail-body h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }
    
    .case-detail-body h4 {
        font-size: 17px;
        margin: 20px 0 10px;
    }
    
    .case-detail-body img {
        margin: 20px 0;
    }
    
    .case-detail-body table {
        font-size: 14px;
    }
    
    .case-detail-body table th,
    .case-detail-body table td {
        padding: 10px 12px;
    }
    
    .case-detail-body blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .case-detail-body pre {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .case-detail-content {
        padding: 40px 0;
    }
    
    .case-detail-content .content-wrapper {
        padding: 0 15px;
    }
    
    .case-detail-body {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .case-detail-body h2 {
        font-size: 20px;
        margin: 25px 0 12px;
    }
    
    .case-detail-body h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }
    
    .case-detail-body h4 {
        font-size: 16px;
        margin: 18px 0 8px;
    }
    
    .case-detail-body p {
        margin-bottom: 15px;
    }
    
    .case-detail-body img {
        margin: 15px 0;
        border-radius: 6px;
    }
    
    .case-detail-body table {
        font-size: 13px;
    }
    
    .case-detail-body table th,
    .case-detail-body table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .case-detail-body blockquote {
        padding: 12px 15px;
        margin: 15px 0;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .case-detail-body pre {
        padding: 10px;
        font-size: 12px;
        margin: 15px 0;
        line-height: 1.5;
    }
    
    .case-detail-body ul,
    .case-detail-body ol {
        margin: 15px 0;
        padding-left: 20px;
    }
    
    .case-detail-body li {
        margin-bottom: 8px;
        line-height: 1.7;
    }
}

/* 超小屏幕优化 (iPhone SE 等) */
@media (max-width: 375px) {
    .case-detail-banner {
        padding: 90px 0 50px;
    }
    
    .case-detail-banner .intro-left h1 {
        font-size: 22px;
    }
    
    .case-detail-banner .intro-left p {
        font-size: 13px;
    }
    
    .case-detail-info .info-item {
        font-size: 12px;
    }
    
    .case-actions .btn-primary,
    .case-actions .btn-outline {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .case-detail-content {
        padding: 30px 0;
    }
    
    .case-detail-content .content-wrapper {
        padding: 0 12px;
    }
    
    .case-detail-body {
        font-size: 13px;
    }
    
    .case-detail-body h2 {
        font-size: 18px;
    }
    
    .case-detail-body h3 {
        font-size: 16px;
    }
    
    .case-detail-body h4 {
        font-size: 15px;
    }
}
