@charset "UTF-8";

/* ===================== 动画关键帧定义 ===================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================== 认识我们页面样式 ===================== */

/* 基础容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== Banner区域 ===================== */
.banner {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 540px;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner标题 */
.banner-titles {
    text-align: center;
    color: #ffffff;
}

.banner-titles h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.23;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.banner-titles .subtitle {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 14%;
    margin: 0;
    text-transform: uppercase;
}

/* ===================== 新闻列表页面样式 ===================== */

/* 新闻列表区域 */
.news-list {
    padding: 60px 0 80px;
    background: #ffffff;
}

.news-list .container-outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题区域 */
.page-header {
    text-align: left;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-header .title-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.page-header .title-line {
    width: 4px;
    height: 42px;
    background: #1673FF;
    margin-right: 20px;
}

.page-header .main-title {
    font-size: 30px;
    font-weight: 700;
    color: #2E3033;
    margin: 0;
    text-transform: uppercase;
}

.page-header .separator {
    font-size: 30px;
    font-weight: 500;
    color: #737980;
    margin: 0 15px;
    text-transform: uppercase;
}

.page-header .sub-title {
    font-size: 20px;
    font-weight: 500;
    color: #737980;
    text-transform: uppercase;
    margin: 0;
}

/* 新闻网格容器 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 380px);
    gap: 40px 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInScale 0.8s ease-out;
}

/* 新闻项样式 */
.news-list-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 380px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(0) scale(1);
    cursor: pointer;
    animation: slideInUp 0.6s ease-out both;
    position: relative;
}


/* 加载时的微光效果 */
.news-list-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
    animation-delay: 1s;
    pointer-events: none;
    z-index: 3;
}

.news-list-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    animation: pulse 0.6s ease-in-out;
}

.news-list-item:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.15s ease;
}

.news-list-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* 为链接添加点击涟漪效果 */
.news-list-item a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(22, 115, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.news-list-item:active a::before {
    width: 300px;
    height: 300px;
}

/* 新闻图片区域 */
.news-list-item .img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-list-item .pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

/* 悬停时图片缩放效果 */
.news-list-item:hover .pic {
    transform: scale(1.05);
}

/* 点击时图片轻微缩小 */
.news-list-item:active .pic {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

/* 新闻分类标签 */
/* .news-list-item .column {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
} */

/* 新闻文本内容 */
.news-list-text {
    padding: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* 新的内容布局 */
.news-content-layout {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    min-height: 60px;
    transition: all 0.3s ease;
}

/* 日期区域 */
.date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.date-section .date {
    font-size: 18px;
    font-weight: 600;
    color: #2E3033;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.date-section .year {
    font-size: 12px;
    font-weight: 400;
    color: #737980;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* 悬停时日期区域动画 */
.news-list-item:hover .date-section {
    transform: scale(1.05);
}

.news-list-item:hover .date-section .date {
    color: #1673FF;
    transform: translateY(-2px);
}

.news-list-item:hover .date-section .year {
    color: #1673FF;
    transform: translateY(2px);
}

/* 装饰线 */
.separator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #CCCCCC 0%, #E8E8E8 50%, #CCCCCC 100%);
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
}

/* 装饰线动画效果 */
.separator-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, #1673FF 0%, #4A90E2 50%, #1673FF 100%);
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-list-item:hover .separator-line::before {
    height: 100%;
}

.news-list-item:hover .separator-line {
    transform: scaleX(2);
}

/* 标题区域 */
.title-section {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 40px;
    transition: transform 0.3s ease;
}

.title-section h3 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #2E3033;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

/* 悬停时标题动画 */
.news-list-item:hover .title-section {
    transform: translateX(3px);
}

.news-list-item:hover .title-section h3 {
    color: #1673FF;
}

/* 底部信息 - 日期区域 (保留兼容性，但隐藏) */
.news-list-text .bottom {
    display: none;
}

/* 分隔线样式 (旧版本，隐藏) */
.news-list-text .separator {
    display: none;
}

/* 隐藏原有的描述和其他元素 */
.news-list-text h5:not(.left):not(.right) {
    display: none;
}

.news-list-text .bottom .left i {
    display: none;
}

/* ===================== 响应式设计 ===================== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: stretch;
    }
    
    .news-list-item {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .news-list-item .img {
        height: 200px;
    }
    
    .banner-titles h2 {
        font-size: 36px;
    }
    
    .banner-titles .subtitle {
        font-size: 24px;
    }
    
    .page-header .main-title {
        font-size: 24px;
    }
    
    .page-header .separator {
        font-size: 24px;
    }
    
    .page-header .sub-title {
        font-size: 16px;
    }
    
    /* 移动端新布局样式调整 */
    .news-content-layout {
        gap: 15px;
        min-height: 50px;
    }
    
    .date-section {
        min-width: 50px;
    }
    
    .date-section .date {
        font-size: 16px;
    }
    
    .date-section .year {
        font-size: 11px;
    }
    
    .separator-line {
        height: 35px;
    }
    
    .title-section h3 {
        font-size: 13px;
        line-height: 1.3;
    }
    
    /* 移动端动画调整 */
    .news-list-item:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    
    .news-list-item:hover .pic {
        transform: scale(1.05);
    }
    
    .news-list-item:hover .date-section {
        transform: scale(1.05);
    }
    
    .news-list-item:hover .title-section {
        transform: translateX(3px);
    }
    
    .news-list-item:hover .separator-line {
        transform: scaleX(1.5);
    }
    
    /* 移动端减少微光效果强度 */
    .news-list-item::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 380px);
        gap: 25px;
        justify-content: center;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 360px);
        gap: 30px 15px;
    }
    
    .news-list-item {
        width: 360px;
    }
}


/* 移动端分页样式 */
@media (max-width: 768px) {
    .fenye {
        margin: 30px 0 40px;
        padding: 15px 0;
    }
    
    .fenye .pagination li a,
    .fenye .pagination li span {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 36px;
    }
    
    .fenye .pagination li.prev a,
    .fenye .pagination li.next a {
        padding: 10px 16px;
    }
    
    /* 在移动端隐藏过多的页码，只显示关键页码 */
    .fenye .pagination li:not(.active):not(.prev):not(.next):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }
}