/* 公司动态/新闻页面样式 */

/* ===== 新闻列表区域 ===== */
.company-news-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.news-list {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    height: 360px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(45, 75, 142, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(45, 75, 142, 0.06);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 75, 142, 0.15);
    border-color: rgba(244, 130, 31, 0.2);
}

.news-item:last-child {
    margin-bottom: 0;
}

/* 图片区域 */
.news-image {
    position: relative;
    flex: 0 0 45%;
    overflow: hidden;
    background: linear-gradient(135deg, #2d4b8e 0%, #1e3a6d 100%);
}

.news-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
}

.news-item:hover .news-image img {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
}

/* 日期标签 */
.news-date {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, #f4821f 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(244, 130, 31, 0.4);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.date-day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date-month {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 内容区域 */
.news-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #f4821f;
}

/* 元数据 */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.news-category {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, #2d4b8e 0%, #3d5fa3 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(45, 75, 142, 0.2);
}

.news-time {
    font-size: 14px;
    color: #8b95a5;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-time::before {
    content: '📅';
}

/* 描述文字 */
.news-description {
    font-size: 16px;
    line-height: 1.9;
    color: #5a6c7d;
    margin-bottom: 28px;
    text-align: justify;
}

/* 阅读更多链接 */
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #f4821f;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(244, 130, 31, 0.08) 0%, rgba(244, 130, 31, 0.12) 100%);
    border-radius: 30px;
    align-self: flex-start;
}

.news-link:hover {
    background: linear-gradient(135deg, #f4821f 0%, #ff9a44 100%);
    color: #ffffff;
    text-decoration: none !important;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(244, 130, 31, 0.3);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1400px) {
    .news-list {
        max-width: 1100px;
    }
    
    .news-content {
        padding: 40px 45px;
    }
    
    .news-title {
        font-size: 24px;
    }
}

@media (max-width: 1200px) {
    .news-list {
        max-width: 95%;
    }
    
    .news-image {
        width: 42%;
    }
    
    .news-content {
        padding: 35px 40px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-description {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .news-content {
        padding: 35px 30px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-description {
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 768px) {
    .company-news-section {
        padding: 60px 0;
    }
    
    .news-list {
        margin-top: 40px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .news-item {
        flex-direction: column;
        margin-bottom: 35px;
        border-radius: 16px;
    }
    
    .news-image {
        width: 100%;
        min-height: 240px;
        max-height: 300px;
    }
    
    .news-image img {
        height: auto;
        min-height: 240px;
    }
    
    .news-date {
        bottom: 18px;
        left: 18px;
        padding: 12px 16px;
        border-radius: 12px;
    }
    
    .date-day {
        font-size: 28px;
    }
    
    .date-month {
        font-size: 12px;
    }
    
    .news-content {
        padding: 30px 25px;
    }
    
    .news-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .news-meta {
        gap: 12px;
        margin-bottom: 18px;
    }
    
    .news-category {
        font-size: 12px;
        padding: 7px 16px;
    }
    
    .news-time {
        font-size: 13px;
    }
    
    .news-description {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 22px;
    }
    
    .news-link {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .company-news-section {
        padding: 40px 0;
    }
    
    .news-list {
        margin-top: 30px;
        padding: 0 12px;
    }
    
    .news-item {
        margin-bottom: 30px;
        border-radius: 14px;
    }
    
    .news-image {
        min-height: 200px;
        max-height: 260px;
    }
    
    .news-image img {
        height: auto;
        min-height: 200px;
    }
    
    .news-date {
        bottom: 15px;
        left: 15px;
        padding: 10px 14px;
        border-radius: 10px;
    }
    
    .date-day {
        font-size: 24px;
    }
    
    .date-month {
        font-size: 11px;
    }
    
    .news-content {
        padding: 25px 20px;
    }
    
    .news-title {
        font-size: 18px;
        margin-bottom: 14px;
        line-height: 1.4;
    }
    
    .news-meta {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .news-category {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .news-time {
        font-size: 12px;
    }
    
    .news-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .news-link {
        font-size: 13px;
        padding: 9px 18px;
    }
}

