/** 首页 **/
/* sy_fa 版块响应式设计 */
@media screen and (max-width: 768px) {
    .sy_fa {
        height: auto !important;
        padding: 40px 20px !important;
        min-height: 250px;
    }
    .sy_fa_bt {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    .sy_fa > .w1400 > div:nth-child(2) {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-top: 15px !important;
    }
    .sy_fa > .w1400 > div:nth-child(3) {
        margin-top: 20px !important;
    }
    .sy_fa > .w1400 > div:nth-child(3) a {
        font-size: 14px !important;
        line-height: 40px !important;
        padding: 0 20px !important;
    }
}

/** ------------------------------------------------------------------------------------------------------------------ **/
/** 产品列表页 **/
/* 手机端隐藏联系我们版块 */
@media (max-width: 768px) {
    .contact-section-mobile {
        display: none !important;
    }
}

/* 分页  美化分页样式 */
.pglist {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
}

.wp-pagenavi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.wp-pagenavi span, .wp-pagenavi a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.wp-pagenavi span.pages {
    background: #f8f9fa;
    color: #666;
    border-color: #e0e0e0;
    padding: 8px 12px;
}

.wp-pagenavi span.current {
    background: linear-gradient(135deg, #BC1C21 0%, #a31d1d 100%);
    color: #fff;
    border-color: #BC1C21;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 57, 57, 0.2);
}

.wp-pagenavi a.page, .wp-pagenavi a.nextpostslink, .wp-pagenavi a.last {
    background: #fff;
    color: #333;
    border-color: #e0e0e0;
}

.wp-pagenavi a.page:hover, .wp-pagenavi a.nextpostslink:hover, .wp-pagenavi a.last:hover {
    background: linear-gradient(135deg, #BC1C21 0%, #a31d1d 100%);
    color: #fff;
    border-color: #BC1C21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 57, 57, 0.2);
}

.wp-pagenavi span.extend {
    padding: 8px 12px;
    color: #999;
    border: none;
}

.wp-pagenavi a.nextpostslink, .wp-pagenavi a.last {
    font-weight: bold;
}


/** ------------------------------------------------------------------------------------------------------------------ **/
/** 产品列表页详情页 **/

:root {
    --main-color: #BE1A21;
    --main-color-hover: #a3151b;
}

.product-info-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* 产品图片版块优化 */
.product-images {
    flex: 1;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.main-image {
    margin-bottom: 0;
    border: none;
    padding: 30px;
    background: #fafafa;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.main-image:hover img {
    transform: scale(1.02);
}

/* 缩略图优化 */
.thumbnail-images {
    display: flex;
    gap: 0;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.thumbnail-images ul {
    display: flex;
    gap: 0;
    width: 100%;
    padding: 15px 20px;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

.thumbnail-images li {
    flex: 1;
    max-width: calc(33.333% - 10px);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    margin: 0 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thumbnail-images li:hover,
.thumbnail-images li.active {
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(190, 26, 33, 0.2);
}

.thumbnail-images img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    transition: all 0.3s ease;
    background: #fafafa;
    padding: 15px;
    box-sizing: border-box;
}

.thumbnail-images li:hover img {
    transform: scale(1.05);
}

/* 产品详情优化 */
.product-details {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-details h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 15px;
}

.parameter-list {
    margin-bottom: 30px;
}

.parameter-list p {
    margin: 12px 0;
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* 按钮样式优化 */
.contact-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.online-chat, .phone-call {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid var(--main-color);
}

.online-chat {
    background-color: var(--main-color);
    color: white;
}

.online-chat:hover {
    background-color: var(--main-color-hover);
    border-color: var(--main-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(190, 26, 33, 0.3);
}

.phone-call {
    background-color: white;
    color: var(--main-color);
}

.phone-call:hover {
    background-color: #fff5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(190, 26, 33, 0.15);
}

/* 标题样式优化 */
.product-description-section h2, .specification-section h2, .application-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 15px;
    display: inline-block;
    font-weight: 600;
}

/* 各版块通用样式优化 */
.product-description-section, .specification-section, .application-section {
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--main-color);
}

/* 产品详情内容容器 */
.product-description-content {
    padding: 10px 0;
}

/* 产品详情段落样式 */
.product-description-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

/* 加粗小标题样式 */
.product-description-content p strong {
    display: inline-block;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(190, 26, 33, 0.1) 0%, rgba(190, 26, 33, 0.05) 100%);
    border-left: 4px solid var(--main-color);
    border-radius: 0 4px 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
}

/* 产品详情图片样式 */
.product-description-content p img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: 15px auto 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.product-description-content p img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 响应式设计：手机端图片居中显示 */
@media (max-width: 768px) {
    .product-description-content p img {
        margin: 15px auto 30px;
        padding: 10px;
    }
}

/* 调整第一个加粗小标题的上边距 */
.product-description-content p:first-child strong {
    margin-top: 0;
}

/* 规格参数表优化 - 重新设计 */
.specification-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid #d0d0d0;
    overflow: hidden;
}

.specification-table th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    vertical-align: middle;
    padding: 16px 12px;
    border: 1px solid #d0d0d0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.specification-table td {
    background-color: #fff;
    text-align: center;
    vertical-align: middle;
    color: #555;
    font-weight: 400;
    font-size: 14px;
    padding: 16px 12px;
    border: 1px solid #d0d0d0;
    transition: all 0.2s ease;
}

.specification-table tr:nth-child(even) {
    background-color: #fafafa;
}

.specification-table tr:hover {
    background-color: #f0f7ff;
}

.specification-table tr:hover td {
    color: var(--main-color);
    background-color: #f0f7ff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .specification-table-wrapper {
        margin: 15px 0;
        padding: 5px;
        border-radius: 8px;
    }
    
    .specification-table th,
    .specification-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .specification-table th {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

/* 应用场景优化 */
.application-section {
    position: relative;
    overflow: hidden;
}

.application-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color) 0%, #ff6b6b 100%);
}

.application-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 35px;
    list-style: none;
    padding: 0;
    margin: 35px 0 0 0;
}

.application-item {
    text-align: center;
    list-style: none;
}

.application-item a {
    display: block;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

/* 4:3比例图片容器 */
.application-item .image-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3比例 */
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.application-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.application-item a:hover::before {
    transform: scaleX(1);
}

.application-item a:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--main-color);
}

.application-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.4s ease;
    display: block;
}

.application-item a:hover img {
    transform: scale(1.08);
}

.application-item p {
    font-size: 18px;
    color: var(--main-color);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.application-item:hover p {
    color: #a3151b;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-info-section {
        flex-direction: column;
    }
    
    .main-image {
        padding: 25px;
    }
    
    .main-image img {
        max-height: 500px;
    }
    
    .application-images {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    

}

@media (max-width: 992px) {
    .main-image {
        padding: 20px;
    }
    
    .main-image img {
        max-height: 450px;
    }
    
    .thumbnail-images img {
        height: 120px;
        padding: 10px;
    }
    
    .application-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    

    
    .application-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .product-details, .product-description-section, .specification-section, .application-section {
        padding: 25px;
    }
    
    .product-details h1 {
        font-size: 24px;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .online-chat, .phone-call {
        width: 100%;
        padding: 12px 25px;
    }
    
    /* 缩略图响应式 */
    .thumbnail-images ul {
        padding: 10px 15px;
    }
    
    .thumbnail-images li {
        max-width: calc(33.333% - 8px);
        margin: 0 4px;
    }
    
    .thumbnail-images img {
        height: 100px;
        padding: 8px;
    }
    
    .main-image {
        padding: 15px;
    }
    
    .main-image img {
        max-height: 400px;
    }
    
    .application-images {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .application-item {
        padding: 20px;
    }
    
    .application-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-details h1 {
        font-size: 22px;
    }
    
    .product-description-section h2, .specification-section h2, .application-section h2 {
        font-size: 20px;
    }
    
    .thumbnail-images ul {
        padding: 8px 10px;
    }
    
    .thumbnail-images li {
        max-width: calc(33.333% - 6px);
        margin: 0 3px;
    }
    
    .thumbnail-images img {
        height: 80px;
        padding: 6px;
    }
    
    .main-image {
        padding: 10px;
    }
    
    .main-image img {
        max-height: 350px;
    }
    
    
    
    .application-item p {
        font-size: 15px;
    }
}



/** ------------------------------------------------------------------------------------------------------------------ **/
/** 新闻中心页面样式 **/
:root {
    --main-color: #BE1A21;
    --main-color-hover: #a3151b;
    --text-color: #333;
    --text-color-secondary: #666;
    --border-color: #eee;
    --bg-color: #fff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 新闻列表容器 */
.news-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 单条新闻样式 */
.news-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    transition: var(--transition);
    align-items: center;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* 新闻图片 */
.news-image {
    flex: 0 0 280px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    transition: var(--transition);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    transition: var(--transition);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* 新闻内容 */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

/* 新闻标题 */
.news-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    color: var(--text-color);
    margin: 0;
    transition: all 0.3s ease;
    transition: var(--transition);
    line-height: 1.3;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    transition: var(--transition);
}

.news-item:hover .news-title a {
    color: #BE1A21;
    color: var(--main-color);
}

/* 新闻日期 */
.news-date {
    font-size: 14px;
    color: #666;
    color: var(--text-color-secondary);
    margin: 0;
}

/* 新闻摘要 */
.news-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    color: var(--text-color-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 了解更多按钮 */
.news-read-more {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 25px;
    background-color: #BE1A21;
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    transition: var(--transition);
    border: 2px solid #BE1A21;
    border: 2px solid var(--main-color);
}

.news-read-more:hover {
    background-color: white;
    color: #BE1A21;
    color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 26, 33, 0.2);
}

/* 分页样式 */
.pagination {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-top: 1px solid var(--border-color);
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.pagination-btn {
    padding: 12px 25px;
    background-color: white;
    color: #333;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid #eee;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    transition: var(--transition);
}

.pagination-btn:hover {
    background-color: #BE1A21;
    background-color: var(--main-color);
    color: white;
    border-color: #BE1A21;
    border-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 26, 33, 0.2);
}

.pagination-btn.prev:hover {
    background-color: #BE1A21;
    background-color: var(--main-color);
}

.pagination-btn.next:hover {
    background-color: #BE1A21;
    background-color: var(--main-color);
}

.pagination-info {
    font-size: 16px;
    color: #333;
    color: var(--text-color);
    font-weight: 500;
}

/* 动画效果 */
.news-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同的新闻项设置不同的动画延迟 */
.news-item:nth-child(1) {
    animation-delay: 0.1s;
}

.news-item:nth-child(2) {
    animation-delay: 0.2s;
}

.news-item:nth-child(3) {
    animation-delay: 0.3s;
}

.news-item:nth-child(4) {
    animation-delay: 0.4s;
}

.news-item:nth-child(5) {
    animation-delay: 0.5s;
}

.news-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* 分页按钮禁用状态 */
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.pagination-btn.disabled:hover {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
    transform: none;
    box-shadow: none;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-list-container {
        padding: 30px 20px;
    }
    
    .news-item {
        gap: 20px;
        padding: 25px 0;
    }
    
    .news-image {
        flex: 0 0 250px;
        height: 180px;
    }
    
    .news-title {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px;
        background-color: #fff;
        background-color: var(--bg-color);
        border: 1px solid #eee;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        box-shadow: var(--shadow);
    }
    
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }
    
    .news-content {
        width: 100%;
    }
    
    .news-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .news-list-container {
        padding: 20px 15px;
    }
    
    .news-item {
        padding: 20px;
        gap: 15px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-title {
        font-size: 18px;
    }
    
    .news-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .news-read-more {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .pagination {
        padding: 30px 0;
    }
    
    .pagination-container {
        gap: 15px;
    }
    
    .pagination-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .pagination-info {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-item {
        padding: 15px;
        gap: 12px;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .news-read-more {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .pagination-container {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    .pagination-info {
        font-size: 13px;
    }
}



/** ------------------------------------------------------------------------------------------------------------------ **/
/** 客户案例样式 **/
/* 客户案例样式 - 仅在 .ny_gy_case 内生效 */
.ny_gy_case {
    --main-color: #BE1A21;
    --main-color-hover: #a3151b;
    --text-color: #333;
    --text-color-secondary: #666;
    --border-color: #eee;
    --bg-color: #fff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 案例列表容器 */
.ny_gy_case .case-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 案例列表 */
.ny_gy_case .case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单个案例项 */
.ny_gy_case .case-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.ny_gy_case .case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

/* 案例图片容器 */
.ny_gy_case .case-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border-bottom: none;
    flex: 1;
}

/* 案例图片 */
.ny_gy_case .case-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.ny_gy_case .case-item:hover .case-image-wrapper img {
    transform: scale(1.05);
}

/* 案例标题 */
.ny_gy_case .case-title {
    margin: 0;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    letter-spacing: 0;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.ny_gy_case .case-item:hover .case-title {
    color: var(--main-color);
    transform: none;
}

/* 动画效果 */
.ny_gy_case .case-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同的案例项设置不同的动画延迟 */
.ny_gy_case .case-item:nth-child(1) { animation-delay: 0.1s; }
.ny_gy_case .case-item:nth-child(2) { animation-delay: 0.2s; }
.ny_gy_case .case-item:nth-child(3) { animation-delay: 0.3s; }
.ny_gy_case .case-item:nth-child(4) { animation-delay: 0.4s; }
.ny_gy_case .case-item:nth-child(5) { animation-delay: 0.5s; }
.ny_gy_case .case-item:nth-child(6) { animation-delay: 0.6s; }
.ny_gy_case .case-item:nth-child(7) { animation-delay: 0.7s; }
.ny_gy_case .case-item:nth-child(8) { animation-delay: 0.8s; }
.ny_gy_case .case-item:nth-child(9) { animation-delay: 0.9s; }
.ny_gy_case .case-item:nth-child(10) { animation-delay: 1s; }
.ny_gy_case .case-item:nth-child(11) { animation-delay: 1.1s; }
.ny_gy_case .case-item:nth-child(12) { animation-delay: 1.2s; }

/* 响应式设计 */
@media (max-width: 1200px) {
    .ny_gy_case .case-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .ny_gy_case .case-list-container {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {
    .ny_gy_case .case-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ny_gy_case .case-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
    
    .ny_gy_case .case-image-wrapper {
        height: 200px;
    }
    
    .ny_gy_case .case-title {
        font-size: 18px;
        padding: 25px;
    }
    
    .ny_gy_case .pagination-container {
        gap: 15px;
    }
    
    .ny_gy_case .pagination-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ny_gy_case .case-image-wrapper {
        height: 180px;
    }
    
    .ny_gy_case .case-title {
        font-size: 16px;
        padding: 20px;
    }
    
    .ny_gy_case .pagination-container {
        gap: 10px;
    }
    
    .ny_gy_case .pagination-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .ny_gy_case .pagination-info {
        font-size: 13px;
    }
}




/** ------------------------------------------------------------------------------------------------------------------ **/
/** 公司展示页面样式 **/
.ny_gy_company {
    padding: 40px 0;
    overflow: hidden;
}

/* 图片列表网格布局 */
.ny_gy_company .company-gallery {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 单个图片项 */
.ny_gy_company .gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ny_gy_company .gallery-item:hover {
    transform: translateY(-5px);
}

/* 图片容器 */
.ny_gy_company .gallery-image {
    width: 90%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
}

.ny_gy_company .gallery-item:hover .gallery-image {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

/* 图片样式 */
.ny_gy_company .gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.ny_gy_company .gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

/* 图片标题 */
.ny_gy_company .gallery-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.ny_gy_company .gallery-item:hover .gallery-title {
    color: #BE1A21;
}

/* 分页样式 */
.ny_gy_company .gallery-pagination {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.ny_gy_company .gallery-pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.ny_gy_company .gallery-pagination-btn {
    padding: 12px 25px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ny_gy_company .gallery-pagination-btn:hover {
    background-color: #BE1A21;
    color: white;
    border-color: #BE1A21;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 26, 33, 0.2);
}

.ny_gy_company .gallery-pagination-info {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ny_gy_company {
        padding: 30px 20px;
    }
    
    .ny_gy_company .company-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 0 -10px;
    }
}

@media (max-width: 768px) {
    .ny_gy_company {
        padding: 20px 15px;
    }
    
    .ny_gy_company .company-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0;
    }
    
    .ny_gy_company .gallery-image img {
        height: 200px;
    }
    
    .ny_gy_company .gallery-title {
        font-size: 15px;
    }
    
    .ny_gy_company .gallery-pagination {
        padding: 30px 0;
    }
    
    .ny_gy_company .gallery-pagination-container {
        gap: 15px;
    }
    
    .ny_gy_company .gallery-pagination-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .ny_gy_company .gallery-pagination-info {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ny_gy_company {
        padding: 15px 10px;
    }
    
    .ny_gy_company .company-gallery {
        gap: 15px;
    }
    
    .ny_gy_company .gallery-image img {
        height: 180px;
    }
    
    .ny_gy_company .gallery-title {
        font-size: 14px;
    }
    
    .ny_gy_company .gallery-pagination-container {
        gap: 10px;
    }
    
    .ny_gy_company .gallery-pagination-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .ny_gy_company .gallery-pagination-info {
        font-size: 13px;
    }
}
