/* 解决方案列表页面样式 */
.solution-list-wrapper {
    background-image: url('../img/solution/list-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0 70px;
    min-height: 600px;
}

.solution-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solution-item {
    display: flex;
    align-items: stretch;
    margin-bottom: 30px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.4s ease;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.solution-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.solution-item:hover {
    box-shadow: none;
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

/* 奇数项：图片在左，内容在右 */
.solution-item:nth-child(odd) {
    flex-direction: row;
}

/* 偶数项：文字在左，图片在右 */
.solution-item:nth-child(even) {
    flex-direction: row-reverse;
}

.solution-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    background: #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

.solution-item:hover .solution-image {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    opacity: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
    pointer-events: none;
    opacity: 0.7;
}

.solution-item:hover .solution-image img {
    transform: scale(1.08);
}

.solution-content {
    flex: 0 0 50%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

/* 奇数项（图片在左）：按钮在左边 */
.solution-item:nth-child(odd) .solution-content {
    align-items: flex-start;
}

/* 偶数项（图片在右）：按钮在右边 */
.solution-item:nth-child(even) .solution-content {
    align-items: flex-end;
}

.solution-title {
    font-family: 'Source Han Sans SC', 'Source Han Sans SC', sans-serif;
    font-weight: bold;
    font-size: 34px;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.solution-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 400;
}

.solution-description {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    max-height: 9em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.solution-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    background: linear-gradient(90deg, #00b4ff 0%, #00d4ff 100%);
    color: #fff;
    border-radius: 26px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(0, 180, 255, 0.4);
    letter-spacing: 0.5px;
}

.solution-btn:hover {
    background: linear-gradient(90deg, #0099dd 0%, #00bbee 100%);
    box-shadow: 0 7px 25px rgba(0, 180, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.solution-btn i {
    margin-left: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    color: #00b4ff;
}

.solution-btn:hover i {
    transform: translateX(4px);
    background: #fff;
    color: #0099dd;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 18px;
    background: #fff;
    border-radius: 8px;
    margin: 20px 0;
}

/* 分页样式 */
.pagination-wrapper {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    text-align: center;
}

.pagination-wrapper .pagination {
    display: inline-flex;
    gap: 8px;
}

.pagination-wrapper .pagination a,
.pagination-wrapper .pagination span {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-wrapper .pagination a:hover {
    background: #00b4ff;
    color: #fff;
}

.pagination-wrapper .pagination .current {
    background: #00b4ff;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .solution-content {
        padding: 35px 40px;
    }
    
    .solution-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .solution-list-wrapper {
        padding: 30px 0 40px;
    }
    
    .solution-item,
    .solution-item:nth-child(odd),
    .solution-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .solution-image,
    .solution-content {
        flex: 0 0 100%;
    }
    
    .solution-image {
        min-height: 240px;
    }
    
    .solution-content {
        padding: 30px 25px;
    }
    
    .solution-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .solution-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .solution-description {
        font-size: 12px;
        margin-bottom: 25px;
    }
    
    .solution-btn {
        padding: 11px 28px;
        font-size: 14px;
    }
}
