/* 因诺资讯详情页样式 */

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.back-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #d44a15;
    transform: translateY(-2px);
}

.back-button i {
    margin-right: 8px;
}

.news-meta {
    margin-bottom: 15px;
}

.news-date {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-detail-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 600;
    /* text-align: center; */
}

.news-summary {
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 0;
}

.news-detail-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.news-detail-content h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.news-detail-content p {
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify; /* 两端对齐 */
    text-justify: inter-ideograph; /* 中文优化 */
}

/* 列表条目也两端对齐（若内容较长） */
.news-detail-content li {
    text-align: justify;
    text-justify: inter-ideograph;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.news-detail-content ul li {
    list-style-type: disc;
}

.news-detail-content ol li {
    list-style-type: decimal;
}

/* 作者信息样式 */
.news-author {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #e0e0e0);
    font-size: 0.9rem;
    color: var(--gray-color, #666);
    text-align: right;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-detail-container {
        padding: 20px 15px;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
    
    .news-summary {
        font-size: 1rem;
    }
    
    .back-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* 首页“因诺动态”新闻卡片图片虚化与覆盖文字 */
.home-business-card.news-card .news-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0; /* 去除圆角 */
}

.home-business-card.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.75);
    transform: scale(1.08); /* 放大以避免边缘出现清晰区域 */
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* 覆盖文字“新闻” */
.home-business-card.news-card .news-image::after {
    content: "资讯";
    position: absolute;
    inset: 0; /* 占满容器 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.35);
    pointer-events: none;
}

/* 研究类卡片（后两个） */
.home-business-card.news-card.research-card .news-image::after {
    content: "研究"; /* 其余居中样式继承自基础规则 */
}

/* 荣誉类卡片（第二个） */
.home-business-card.news-card.honor-card .news-image::after {
    content: "荣誉"; /* 其余居中样式继承自基础规则 */
}

/* 悬停时减轻虚化以吸引交互 */
.home-business-card.news-card:hover .news-image img {
    filter: blur(2px) brightness(0.8);
    transform: scale(1.05);
}

/* 新闻卡片主体区域适配 */
.home-business-card.news-card {
    display: flex;
    width: 100%;
    max-width: 960px;
    background: #fff;
    border: 1px solid var(--border-color, #eee);
    border-radius: 0; /* 去除圆角 */
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-business-card.news-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* 内部结构对齐（若原有结构不同可兼容） */
.home-business-card.news-card .news-content {
    display: flex;
    flex: 1;
    padding: 18px 24px;
}

.home-business-card.news-card .news-text h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--dark-color, #222);
}

.home-business-card.news-card .news-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-color, #555);
    text-align: justify; /* 两端对齐 */
    text-justify: inter-ideograph; /* 中文优化 */
}

@media (max-width: 768px) {
    .home-business-card.news-card {
        flex-direction: column;
    }
    .home-business-card.news-card .news-image {height: 150px;}
    .home-business-card.news-card .news-image::after {font-size: 1.8rem; letter-spacing: 3px;}
    .home-business-card.news-card .news-content {padding: 14px 18px;}
}

/* 动态列表（分类页）日期布局 */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border-color,#eaeaea); cursor: pointer; transition: background-color .25s ease; }
.news-row:hover { background-color: rgba(243,112,34,0.06); }
.news-title { flex: 1; font-size: 0.95rem; color: var(--dark-color,#222); line-height: 1.4; }
.news-date-inline { margin-left: 12px; font-size: 0.75rem; color: #999; white-space: nowrap; font-family: 'Roboto','Noto Serif SC','Songti SC','SimSun','STSong',serif; }
@media (max-width:600px){
    .news-row { padding: 8px 10px; }
    .news-title { font-size: 0.9rem; }
    .news-date-inline { font-size: 0.7rem; }
}
