/* 新闻资讯页面样式 */

/* 页面过渡效果 */
body {
    transition: opacity 0.15s ease;
}

/* 页面横幅区域 */
.news-banner {
    width: 100%;
    height: 600px;
    min-height: 300px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.news-banner .banner-image {
    width: 100%;
    height: 110%;
    position: relative;
}

.news-banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 面包屑导航样式 */
.breadcrumb-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 1);
    padding: 0 0;
    margin-top: 20px;
    margin-bottom: 65px;
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-icon-img {
    width: 16px;
    height: 16px;
}

.breadcrumb-text {
    font-size: 14px;
    color: #666;
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    font-family: "OPPOSans", "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.breadcrumb-link:hover {
    color: rgba(8, 110, 114, 1);
}

.breadcrumb-link.active {
    color: rgba(51, 51, 51, 1);
    cursor: default;
}

.breadcrumb-link.active:hover {
    color: rgba(8, 110, 114, 1);
}

.breadcrumb-separator {
    color: #999;
    margin: 0 4px;
}

/* 新闻资讯内容区域 */
.news-content {
    padding: 0 0 0;
    background: rgba(255, 255, 255, 1);
}

.news-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 新闻筛选 */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 228px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.news-filter .filter-btn {
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: rgba(51, 51, 51, 1);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.news-filter .filter-btn:hover {
    color: rgba(8, 110, 114, 1);
}

.news-filter .filter-btn.active {
    background: transparent;
    border-color: transparent;
    color: rgba(8, 110, 114, 1);
    position: relative;
}

.news-filter .filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(8, 110, 114, 1);
}

/* 新闻轮播区域 */
.news-carousel-section {
    width: 100%;
    padding: 0 0 10px;
    background: rgba(255, 255, 255, 1);
}

.news-carousel-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 0;
    display: flex;
    gap: 20px;
    align-items: stretch;
    background: rgba(255, 255, 255, 1);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}


/* 左侧内容区域 */
.news-content-left {
    flex: 0.75;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    padding-right: 25px;
    background: rgba(255, 255, 255, 1);
    margin-left: 32px;
    position: relative;
    min-height: 480px;
}

.news-date {
    font-size: 14px;
    color: rgba(102, 102, 102, 1);
    font-family: Arial, sans-serif;
    margin-bottom: -19px;
    position: relative;
    top: 22px; /* 向下移动的距离，可按需调整（如15px、20px） */
}

.news-main-title {
    font-size: 24px;
    font-weight: 500;
    color: rgba(8, 110, 114, 1);
    font-family: "Source Han Sans", "思源黑体", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 1px;
    margin-top: 45px;
}

.news-description {
    font-size: 14px;
    color: rgba(102, 102, 102, 1);
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    margin-top: 15px;
    font-family: "Source Han Sans", "思源黑体", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.news-more {
    position: absolute;
    bottom: 100px;
    left: 40px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(8, 110, 114, 1);
    font-family: Arial, sans-serif;
    text-decoration: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.news-more:hover {
    opacity: 0.8;
}

/* 分页器 */
.news-pagination {
    display: flex;
    gap: 17px;
    margin-top: auto;
    margin-left: 1px;
    padding-bottom: 20px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(204, 204, 204, 1);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    border-color: rgba(8, 110, 114, 1);

}

.pagination-dot:hover {
    border-color: rgba(8, 110, 114, 0.5);
    
}

/* 右侧图片轮播区域 */
.news-images-right {
    flex: 1.35;
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s linear 0.6s;
    will-change: transform, opacity;
    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s linear 0s;
}

.carousel-slide.prev {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s linear 0.6s;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 30px 0 0 30px;
     -webkit-user-select: none; 
    -webkit-user-drag: none;
    display: block;
}


.image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.image-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 88%;
    height: 88%;
    z-index: 2;
}

.image-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 占位卡片样式 */
.news-card-placeholder {
    background: transparent;
}

.news-card-placeholder::after {
    display: none;
}

.news-card-placeholder .placeholder-text {
    font-size: 14px;
    color: rgba(153, 153, 153, 1);
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.news-card-placeholder .placeholder-info {
    background: transparent;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: #fff;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: rgba(8, 110, 114, 1);
}

.modal-body {
    padding: 0;
}

.modal-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    padding: 30px;
}

.modal-title {
    font-size: 28px;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    margin: 0 0 15px;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.modal-date {
    font-size: 16px;
    color: rgba(8, 110, 114, 1);
    margin: 0 0 20px;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.modal-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(102, 102, 102, 1);
    margin: 0 0 25px;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.modal-features h4 {
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    margin: 0 0 15px;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    font-size: 14px;
    color: rgba(102, 102, 102, 1);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
}

.modal-features li::before {
    content: "•";
    color: rgba(8, 110, 114, 1);
    position: absolute;
    left: 0;
}

/* 滚动渐入动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 新闻卡片动画延迟 */
.news-card.fade-in-up:nth-child(1) { transition-delay: 0s; }
.news-card.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.news-card.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.news-card.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.news-card.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.news-card.fade-in-up:nth-child(6) { transition-delay: 0.5s; }
.news-card.fade-in-up:nth-child(7) { transition-delay: 0.6s; }
.news-card.fade-in-up:nth-child(8) { transition-delay: 0.7s; }
.news-card.fade-in-up:nth-child(9) { transition-delay: 0.8s; }

/* 照片展示模块 - 参考产品中心样式 */
.photo-gallery-section {
    width: 100%;
    padding: 60px 0 80px;
    background: rgba(255, 255, 255, 1);
}

.photo-gallery-section .container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 95px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 442px);
    gap: 30px;
    margin-bottom: 40px;
    justify-content: start;
}

/* 照片卡片 - 参考产品中心产品卡片样式 */
.photo-card {
    width: 442px;
    height: 475px;
    background: rgba(255, 255, 255, 1); 
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
    position: relative;
    outline: none;
}
.photo-card:hover {
    box-shadow: 0px 8px 30px  rgba(0, 0, 0, 0.08);
}

.photo-card:hover .photo-card-more {
    color: rgba(8, 110, 114, 1);
    
}

/* 照片卡片链接 */
.photo-card-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.photo-card-link:hover {
    text-decoration: none;
}

/* 照片卡片图片 - 参考产品中心产品图片样式 */
.photo-card-image {
    position: relative;
    width: 404px;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
}

.photo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 第一张卡片图片悬停切换效果 */
.photo-gallery-grid .photo-card-first .photo-card-image {
    position: relative;
}

.photo-gallery-grid .photo-card-first .photo-card-image img.photo-img-default,
.photo-gallery-grid .photo-card-first .photo-card-image img.photo-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.photo-gallery-grid .photo-card-first .photo-card-image img.photo-img-default {
    opacity: 1;
    z-index: 1;
}

.photo-gallery-grid .photo-card-first .photo-card-image img.photo-img-hover {
    opacity: 0;
    z-index: 2;
}

.photo-gallery-grid .photo-card-first:hover .photo-card-image img.photo-img-default {
    opacity: 0;
}

.photo-gallery-grid .photo-card-first:hover .photo-card-image img.photo-img-hover {
    opacity: 1;
}

/* 照片卡片遮罩 */
.photo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.photo-card:hover .photo-card-overlay {
    opacity: 1;
}

.view-detail-btn {
    padding: 10px 20px;
    background: rgba(8, 110, 114, 1);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.view-detail-btn:hover {
    background: rgba(6, 80, 83, 1);
}

/* 照片卡片信息 - 参考应用案例文字排版样式 */
.photo-card-info {
    padding: 20px 28px;
    width: 100%;
    background: transparent;
}

.photo-card-title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    line-height: 1.5;
    margin: 0 -10px 15px;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
     margin-top: 55px;     /* 增大上边距 */
    margin-bottom: 5px;    /* 减小下边距 */
    margin-left: -10px;
}

.photo-card-more {
    font-size: 16px;
    color: rgba(102, 102, 102, 1);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Noto Sans SC", "Source Han Sans", "思源黑体", "Microsoft YaHei", sans-serif;
    font-weight:400px
}

.photo-card:hover .photo-card-more {
    color: rgba(8, 110, 114, 1);
}

.photo-card-date {
    font-size: 18px;
    font-weight: 700;
    color: rgba(51, 51, 51, 1);
    font-family: Arial, sans-serif;
}

.date-separator {
    font-size: 14px;
    font-weight: 400;
    color: rgba(153, 153, 153, 1);
    margin: 0 2px;
}

/* 照片展示模块分页器 */
.photo-gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 19px;
    margin-top: 80px;
}

/* 行业资讯照片卡片布局 - 与公司新闻相同排版 */
.industry-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 442px);
    gap: 30px;
    justify-content: start;
}

.industry-photo-grid .photo-card {
    flex-shrink: 0;
}

.pagination-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(102, 102, 102, 1);
    transition: all 0.3s ease;
    background: #fff;
}

.pagination-arrow:hover {
    border-color: rgba(8, 110, 114, 1);
    color: rgba(8, 110, 114, 1);
}

.pagination-page {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(102, 102, 102, 1);
    transition: all 0.3s ease;
    background: #fff;
}

.pagination-page:hover {
    border-color: rgba(8, 110, 114, 1);
    color: rgba(8, 110, 114, 1);
}

.pagination-page.active {
    background: rgba(8, 110, 114, 1);
    border-color: rgba(8, 110, 114, 1);
    color: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .news-content .container {
        padding: 0 30px;
    }
    
    .breadcrumb {
        padding: 0 30px;
    }
    
    .news-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .photo-gallery-section .container {
        padding: 0 30px;
    }
    
    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .industry-photo-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-content: start;
    }
}

@media screen and (max-width: 992px) {
    .news-banner {
        height: 400px;
    }
    
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-filter {
        gap: 15px;
    }
    
    .news-filter .filter-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .news-carousel-container {
        flex-direction: column;
        gap: 0;
    }
    
    .news-content-left {
        padding: 30px;
        flex: 1;
        min-height: auto;
    }
    
    .news-more {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
    
    .news-images-right {
        min-height: 300px;
    }
    
    .carousel-slide img {
        border-radius: 0 0 16px 16px;
    }
    
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-photo-grid .photo-card {
        width: 100%;
        max-width: 442px;
    }
    
    .photo-card-image {
        height: 200px;
    }
}

@media screen and (max-width: 768px) {
    .news-content {
        padding: 30px 0 60px;
    }
    
    .news-content .container {
        padding: 0 20px;
    }
    
    .breadcrumb {
        padding: 0 20px;
        flex-wrap: wrap;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-card-image {
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .news-carousel-section {
        padding: 30px 0 40px;
    }
    
    .news-carousel-container {
        padding: 0 20px;
        border-radius: 12px;
    }
    
    .news-content-left {
        padding: 24px;
        flex: 1;
        min-height: auto;
    }
    
    .news-more {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 15px;
    }
    
    .news-images-right {
        min-height: 250px;
    }
    
    .news-main-title {
        font-size: 20px;
    }
    
    .news-description {
        font-size: 13px;
    }
    
    .news-pagination {
        gap: 8px;
    }
    
    .pagination-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-slide img {
        border-radius: 0 0 12px 12px;
    }
    
    .photo-gallery-section {
        padding: 40px 0 60px;
    }
    
    .photo-gallery-section .container {
        padding: 0 20px;
    }
    
    .photo-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industry-photo-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-photo-grid .photo-card {
        width: 100%;
        max-width: 442px;
    }
    
    .photo-card-image {
        height: 220px;
    }
}

@media screen and (max-width: 480px) {
    .news-banner {
        height: 300px;
        min-height: 200px;
    }
    
    .breadcrumb-text {
        font-size: 12px;
    }
    
    .breadcrumb-link {
        font-size: 12px;
    }
    
    .news-filter {
        gap: 10px;
    }
    
    .news-filter .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-title {
        font-size: 16px;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-text {
        padding: 20px;
    }
    
    .news-content-left {
        padding: 20px;
        flex: 1;
    }
    
    .news-images-right {
        min-height: 200px;
    }
    
    .news-main-title {
        font-size: 18px;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-description {
        font-size: 12px;
    }
    
    .news-more {
        font-size: 14px;
    }
    
    .photo-card-image {
        height: 180px;
    }
    
    .photo-card-title {
        font-size: 14px;
    }
    
    .photo-card-date {
        font-size: 16px;
    }
    
    .photo-gallery-pagination {
        gap: 5px;
    }
    
    .pagination-arrow,
    .pagination-page {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}


