
/* 案例列表页样式 */


/* 栏目子分类 */
.case-categories {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto 30px;
    padding-bottom: 15px;
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .case-categories {
        justify-content: flex-start;
    }
}

.case-categories::-webkit-scrollbar {
    display: none;
}

.casegory-item {
    position: relative;
    flex: 0 0 auto;
    margin: 0 5px;
}

.casegory-item a {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 15px;
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .casegory-item a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .casegory-item.active::after {
        bottom: -15px;
    }
}

.casegory-item:hover a,
.casegory-item.active a {
    background: #0066cc;
    color: #fff;
}

.casegory-item.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0066cc;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #0066cc;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #004d99;
}

/* 案例展示区 */
.case-gallery {
    margin-bottom: 50px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
	animation: fadeInUp 0.6s forwards;
}

.case-item:nth-child(1) {
    animation-delay: 0.2s;
}

.case-item:nth-child(2) {
    animation-delay: 0.4s;
}

.case-item:nth-child(3) {
    animation-delay: 0.6s;
}

.case-item:nth-child(4) {
    animation-delay: 0.8s;
}

.case-item:nth-child(5) {
    animation-delay: 1.0s;
}

.case-item:nth-child(6) {
    animation-delay: 1.2s;
}

.case-item:nth-child(7) {
    animation-delay: 1.4s;
}

.case-item:nth-child(8) {
    animation-delay: 1.6s;
}

.case-item:nth-child(9) {
    animation-delay: 1.8s;
}

.case-item:nth-child(10) {
    animation-delay: 2.0s;
}

.case-item:nth-child(11) {
    animation-delay: 2.2s;
}

.case-item:nth-child(12) {
    animation-delay: 2.4s;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.cases-info {
    padding: 20px;
}

.cases-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFF;
}

.cases-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 13px;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0px;
	border-radius: 4px;
}

.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }




/* 案例详情页样式 */
.case-detail-container {
    padding: 40px 0;
}

/* 侧边栏样式 */
.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	
}

.sidebar-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.recommend-products li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.recommend-products li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommend-products img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.recommend-products h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
}

.recommend-products p {
    font-size: 13px;
    color: #666;
}

.news-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}


.news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-list a {
    display: flex;
    align-items: center;
	 color: #666;
}

.news-date {
    display: inline-block;
    width: 50px;
    color: #999;
    font-size: 13px;
}

.news-title {
    flex: 1;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.news-list a:hover .news-title {
    color: #0066cc;
}

.case-detail-wrapper {
    display: flex;
    gap: 30px;
}

.case-sidebar {
    flex: 0 0 280px;
	animation: slideInLeft 0.8s both;
    animation-delay: 0.3s;
}

/* 栏目导航样式 */
.sidebar-nav {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-nav h3 {
    font-size: 18px;
    color: #333;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px dashed #eee;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: #666;
    font-size: 15px;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    color: #0066cc;
    background: #f9f9f9;
}

.sidebar-nav .active a {
    color: #0066cc;
    background: #f5f5f5;
    border-left: 3px solid #0066cc;
}

.case-content {
    flex: 1;
	background-color:#FFF;
	border-radius:10px;
	padding:10px 10px;
	animation: slideInRight 0.9s both;
    animation-delay: 0.5s;
}

.case-header {
    margin-bottom: 30px;
    text-align: center;
}

.case-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.case-meta span {
    margin: 0 10px;
}

.case-body {
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 移动端图片响应式 */
@media (max-width: 768px) {
    .case-body img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

.case-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.case-tags {
    margin-bottom: 15px;
}

.case-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 3px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 3px;
    font-size: 12px;
}

.case-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.case-navigation a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: #0066cc;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #ddd;
}

.case-navigation a:hover {
    background-color: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.case-navigation i {
    margin: 0 8px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .case-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .case-navigation a {
        padding: 8px 15px;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .case-detail-wrapper {
        flex-direction: column;
    }
    
    .case-sidebar {
        flex: 0 0 auto;
        margin-bottom: 30px;
        display: flex;
        gap: 20px;
    }
    
    .sidebar-section {
        flex: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
       
    .case-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .cases-info {
        padding: 15px;
    }
    
    .case-title {
        font-size: 24px;
    }
    
    .case-meta {
        font-size: 13px;
    }
    
    .case-sidebar {
        flex-direction: column;
    }
    
    .recommend-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .recommend-products li {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 10px;
    }
    
    .case-title {
        font-size: 20px;
    }
    
    .case-meta {
        flex-direction: column;
    }
    
    .case-meta span {
        margin: 5px 0;
    }
    
    .case-navigation {
        flex-direction: column;
    }
    
    .case-navigation a {
        margin: 5px 0;
    }
    
    .recommend-products {
        grid-template-columns: 1fr;
    }
    
    .recommend-products img {
        height: 150px;
    }
}
