industry-news/* 新闻动态页面样式 */
.news-main {
    position: relative;
    padding-top: 12.857rem; /* 180px / 14 */
    isolation: isolate;
    overflow: hidden;
}

/* 装饰背景层样式 */
.news-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.decorative-text {
    position: absolute;
    top: 19%;
    left: 23%;
    transform: translate(-50%, -50%);
    font-size: 8rem; /* 减小字体大小 */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.06);
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许单词内换行 */
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: 0.357rem; /* 5px / 14 */
    max-width: 90%; /* 限制最大宽度 */
    text-align: center; /* 居中对齐 */
}

.page-header {
    text-align: center;
    margin-bottom: 2.857rem; /* 40px / 14 */
    color: #2d3748;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.714rem; /* 10px / 14 */
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.news-categories {
    display: flex;
    justify-content: center;
    gap: 2.143rem; /* 30px / 14 */
    margin-bottom: 2.857rem; /* 40px / 14 */
}

.category-btn {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
}

.category-btn:hover,
.category-btn.active {
    color: #002060;
    text-decoration: underline;
}

.news-section {
    margin-bottom: 4.286rem; /* 60px / 14 */
}

/* 行业资讯区域独占一页样式 */
#industry-news {
    padding-top: 13.571rem; /* 120px / 14 */
    min-height: 100vh;
    margin-bottom: 0;
    font-size: 1.8rem;
    position: relative;
}

/* 行业资讯区域内的装饰文字位置调整 */
#industry-news .news-decorative-bg .decorative-text {
    top: 19.6%; /* 调整位置，避免与页面顶部装饰文字重叠 */
    left: 19.5%; /* 调整位置，避免与页面顶部装饰文字重叠 */
    font-size: 8rem; /* 减小字体大小 */
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许单词内换行 */
    max-width: 90%; /* 限制最大宽度 */
    text-align: center; /* 居中对齐 */
}

/* 行业资讯高度控制类 */
.industry-news-custom-height {
    min-height: auto !important;
    height: auto;
}

.industry-news-short {
    min-height: 42.857rem !important; /* 600px / 14 */
    height: 42.857rem; /* 600px / 14 */
}

.industry-news-medium {
    min-height: 57.143rem !important; /* 800px / 14 */
    height: 57.143rem; /* 800px / 14 */
}

.industry-news-tall {
    min-height: 85.714rem !important; /* 1200px / 14 */
    height: 85.714rem; /* 1200px / 14 */
}

/* 公司动态高度控制类 */
.company-news-custom-height {
    min-height: auto !important;
    height: auto;
}

.company-news-short {
    min-height: 35.714rem !important; /* 500px / 14 */
    height: 35.714rem; /* 500px / 14 */
}

.company-news-medium {
    min-height: 50rem !important; /* 700px / 14 */
    height: 50rem; /* 700px / 14 */
}

.company-news-tall {
    min-height: 64.286rem !important; /* 900px / 14 */
    height: 64.286rem; /* 900px / 14 */
}

/* 公司动态标题位置调节 - 不挤压布局 */
.company-news-title-adjust {
    transform: translateY(7.143rem) !important; /* 100px / 14 */
    position: relative;
    z-index: 1;
}

/* 行业资讯轮播容器下调100px */
#industry-news .news-carousel-container {
    margin-top: -2.786rem; /* 39px / 14 */
}

.section-title {
    font-size: 2.8rem;
    color: #2d3748;
    margin-bottom: 1.786rem; /* 25px / 14 */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.786rem;
    margin-top: 1.429rem;
    width: 90%; /* 使用百分比宽度 */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* 新闻轮播容器 - 分组版本 */
.news-carousel-container {
    position: relative;
    margin: 8.571rem 0 5.714rem;
    overflow: hidden;
    width: 90%; /* 使用百分比宽度 */
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%; /* 使用百分比内边距 */
}

.news-carousel-inner {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.news-carousel-group {
    flex: 0 0 100%;
    display: flex;
    gap: 1.786rem; /* 25px / 14 */
    justify-content: center;
    min-height: 28.571rem; /* 400px / 14 */
    align-items: flex-start; /* 顶部对齐 */
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateX(0);
}

.news-carousel-group:not(.active) {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    transform: translateX(100%);
}

.news-card {
    width: 22rem; 
    flex-shrink: 0; /* 禁止收缩 */
    background: white;
    border-radius: 0.857rem; /* 12px / 14 */
    overflow: hidden;
    box-shadow: 0 1.071rem 2.5rem rgba(0, 0, 0, 0.1); /* 15px 35px / 14 */
    transition: all 0.3s ease;
    margin-bottom: 2.143rem; /* 30px / 14 */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.news-card:hover {
    transform: translateY(-0.571rem); /* 8px / 14 */
    box-shadow: 0 1.429rem 2.857rem rgba(0, 0, 0, 0.15); /* 20px 40px / 14 */
}

.card-image {
    width: 100%;
    height: 14.286rem; /* 200px / 14 */
    object-fit: cover;
    display: block;
    background: white;
}

.card-content {
    padding: 1.429rem; /* 20px / 14 */
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 0.857rem; /* 12px / 14 */
    line-height: 1.4;
    font-weight: 600;
}

.card-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.714rem; /* 10px / 14 */
    font-size: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.071rem; /* 15px / 14 */
    border-top: 1px solid #f1f3f4;
    padding-top: 0.714rem; /* 10px / 14 */
}

.news-date {
    color: #002060;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-link {
    background: #002060;
    color: white;
    padding: 0.571rem 1.143rem; /* 8px 16px / 14 */
    border-radius: 1.429rem; /* 20px / 14 */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.detail-link:hover {
    background: #001a4d;
    transform: translateY(-0.143rem); /* 2px / 14 */
    box-shadow: 0 0.286rem 0.857rem rgba(0, 32, 96, 0.3); /* 4px 12px / 14 */
}

/* 导航控制按钮 */
.news-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #002060;
    border-radius: 50%;
    width: 3.571rem; /* 50px / 14 */
    height: 3.571rem; /* 50px / 14 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0.286rem 1.071rem rgba(0, 32, 96, 0.3); /* 4px 15px / 14 */
    transition: all 0.3s ease;
    font-size: 1.429rem; /* 20px / 14 */
    font-weight: bold;
}

.news-carousel-control:hover {
    background: #002060;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-control.prev {
    left: 0;
}

.news-carousel-control.next {
    right: 0;
}

.news-carousel-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 分页指示器 - 仿照manufacturing.html样式 */
.process-carousel-indicators {
    position: absolute;
    bottom: -0.5rem; /* 40px / 14 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.071rem; /* 15px / 14 */
    padding: 0.714rem; /* 10px / 14 */
    z-index: 10;
    border-radius: 2.143rem; /* 30px / 14 */
    backdrop-filter: blur(10px);
}

.process-indicator {
    width: 0.857rem; /* 12px / 14 */
    height: 0.857rem; /* 12px / 14 */
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-indicator.active {
    background: #002060;
    border: 2px solid #002060;
    transform: scale(1.2);
}

.process-indicator:hover {
    background: #bbb;
    transform: scale(1.1);
}

/* 箭头控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white; /* 白色背景 */
    border: 2px solid #002060; /* 深蓝色边框 */
    border-radius: 50%;
    width: 3.571rem; /* 50px / 14 */
    height: 3.571rem; /* 50px / 14 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0.286rem 1.071rem rgba(0, 32, 96, 0.3); /* 4px 15px / 14 */
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:hover svg {
    stroke: white; /* 白色图标 */
}

.carousel-control svg {
    stroke: #002060; /* 深蓝色图标 */
    transition: stroke 0.3s ease;
}

.carousel-control.prev {
    left: 0.357rem; /* 5px / 14 */
}

.carousel-control.next {
    right: 0.357rem; /* 5px / 14 */
}

.carousel-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* 响应式设计 */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 0.857rem); /* 12px / 14 */
    }
    
    .news-carousel-container {
        padding: 0 3.571rem; /* 50px / 14 */
    }
    
    .carousel-control {
        width: 3.214rem; /* 45px / 14 */
        height: 3.214rem; /* 45px / 14 */
    }
}

@media (max-width: 768px) {
    .news-main {
        padding-top: 5.714rem; /* 80px / 14 */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .news-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 14.286rem; /* 200px / 14 */
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section {
        padding: 1.429rem; /* 20px / 14 */
        margin-bottom: 2.857rem; /* 40px / 14 */
    }
    
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .news-carousel-container {
        padding: 0 2.857rem; /* 40px / 14 */
    }
    
    .carousel-control {
        width: 2.857rem; /* 40px / 14 */
        height: 2.857rem; /* 40px / 14 */
    }
    
    .carousel-indicators {
        bottom: -2.5rem; /* 35px / 14 */
    }
    
    .indicator {
        width: 0.714rem; /* 10px / 14 */
        height: 0.714rem; /* 10px / 14 */
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-content {
        padding: 1.071rem; /* 15px / 14 */
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .news-carousel-container {
        padding: 0 2.143rem; /* 30px / 14 */
    }
    
    .carousel-control {
        width: 2.5rem; /* 35px / 14 */
        height: 2.5rem; /* 35px / 14 */
    }
    
    .carousel-indicators {
        bottom: -2.143rem; /* 30px / 14 */
        gap: 0.571rem; /* 8px / 14 */
    }
    
    .indicator {
        width: 0.571rem; /* 8px / 14 */
        height: 0.571rem; /* 8px / 14 */
    }
}

