/* 典型用户样式 */
.nyCase {
    padding: 60px 0;
    background: #f8f9fa;
}

.nyCase_main {
    display: flex;
    gap: 30px;
}

.nyCase_left {
    width: 280px;
    flex-shrink: 0;
}

.nyCase_right {
    flex: 1;
}

.case_type {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.case_type .hd {
    background: #722ed1;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case_type .hd icon {
    width: 24px;
    height: 24px;
}

.case_type .hd p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.case_type .bd ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.case_type .bd li {
    border-bottom: 1px solid #f0f0f0;
}

.case_type .bd li:last-child {
    border-bottom: none;
}

.case_type .bd li.active {
    background: #f9f0ff;
}

.case_type .bd li p {
    margin: 0;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case_type .bd li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.case_type .bd li a:hover {
    color: #722ed1;
}

.case_type .bd li i {
    width: 20px;
    height: 20px;
}

.case_type .bd li em {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.case_tabs {
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.case_tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.case_tabs li {
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.case_tabs li.active {
    color: #722ed1;
    border-bottom-color: #722ed1;
}

.case_tabs li:hover {
    color: #722ed1;
}

.case_content {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
}

.case_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.case_item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}

.case_item:hover {
    border-color: #722ed1;
    box-shadow: 0 8px 24px rgba(114, 46, 209, 0.15);
    transform: translateY(-2px);
}

.case_img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case_item:hover .case_img img {
    transform: scale(1.05);
}

.case_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(114, 46, 209, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case_item:hover .case_overlay {
    opacity: 1;
}

.case_btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #722ed1;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.case_btn:hover {
    background: #722ed1;
    color: #fff;
}

.case_info {
    padding: 20px;
}

.case_info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.case_info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.case_info h3 a:hover {
    color: #722ed1;
}

.case_desc {
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.case_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.case_type {
    padding: 4px 8px;
    background: #f9f0ff;
    color: #722ed1;
    border-radius: 12px;
    font-weight: 500;
}

.case_date {
    color: #999;
}

.lyPage {
    margin-top: 30px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nyCase_main {
        flex-direction: column;
    }
    
    .nyCase_left {
        width: 100%;
    }
    
    .case_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case_tabs ul {
        flex-wrap: wrap;
    }
    
    .case_tabs li {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .case_meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
