/* 案例详情页面样式 */
.case-detail-container {
    padding-top: 80px;
}

/* Banner样式 */
.case-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.case-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}

.banner-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}
.default-padding-top{
    padding-top: 20px;
}

.banner-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* 内容区域样式 */
.case-content {
    padding: 60px 20px;
}
.case-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.case-section h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #1890ff;
}

.case-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}
.news-detail-content {
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border-radius: 4px;
}
.news-summary {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 20px 0!important;
    padding: 15px;
    background: #f8f8f8;
    border-left: 4px solid #1890ff;
}

/* 项目难点样式 */
.challenge-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.challenge-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.challenge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.challenge-text h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.challenge-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 解决方案步骤样式 */
.solution-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #1890ff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content h3 {
    font-size: 18px;
    color: #333;
    margin: 15px 0 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 项目成效样式 */
.result-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.result-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
}

.result-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-item h3 {
    font-size: 20px!important;
    color: #333;
    margin-bottom: 15px;
}

.result-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .case-banner {
        height: 300px;
    }

    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 16px;
    }

    .case-section h2 {
        font-size: 24px;
    }

    .challenge-item,
    .result-item {
        min-width: 100%;
    }

    .step {
        min-width: 100%;
    }
}

/* 加载占位符样式 */
.loading-placeholder {
    padding: 20px 0;
}

.placeholder-title {
    width: 60%;
    height: 32px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 20px;
}

.placeholder-content {
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.placeholder-content:nth-child(3) {
    width: 80%;
}

.placeholder-content:nth-child(4) {
    width: 90%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 静态轮播图样式 */
.static-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图占位符样式 */
.hero-placeholder {
    width: 100%;
    height: 400px;
    position: relative;
}

.placeholder-slide {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* end */