/* 染色体结构变异新闻栏目样式（仅作用于新增页面，不改变原站其他页面） */

.news-page {
    padding-top: 48px;
    padding-bottom: 64px;
    min-height: 60vh;
    color: #333;
}

.news-hero {
    background: #fff;
    border-left: 4px solid #1e88e5;
    border-radius: 6px;
    padding: 32px 36px;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.news-hero h1,
.news-detail h1 {
    font-size: 32px;
    line-height: 1.35;
    color: #1e88e5;
    margin-bottom: 14px;
}

.news-hero p {
    font-size: 16px;
    color: #555;
    max-width: 900px;
}

.news-meta {
    font-size: 14px;
    color: #777;
    margin: 12px 0 24px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.news-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
}

.news-card-top time {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

.news-card h2 {
    font-size: 20px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.news-card h2 a {
    color: #222;
    text-decoration: none;
}

.news-card h2 a:hover {
    color: #1e88e5;
}

.news-summary {
    color: #555;
    font-size: 15px;
    flex: 1;
    margin-bottom: 16px;
}

.news-source {
    color: #888;
    font-size: 13px;
    border-top: 1px solid #eef1f5;
    padding-top: 12px;
}

.news-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 20px;
}

.news-pager a {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 4px;
    color: #1e88e5;
    text-decoration: none;
    font-size: 14px;
}

.news-pager a.current {
    background: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
}

.news-back {
    display: inline-block;
    color: #1e88e5;
    text-decoration: none;
    font-size: 14px;
}

.news-back:hover {
    text-decoration: underline;
}

.news-detail {
    background: #fff;
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 920px;
    margin: 0 auto;
}

.news-detail .news-back {
    margin-bottom: 24px;
}

.news-lead {
    background: #f5f9ff;
    border-left: 3px solid #1e88e5;
    padding: 14px 18px;
    color: #444;
    font-size: 16px;
    margin: 20px 0 26px;
}

.news-body {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
}

.news-body p {
    margin-bottom: 18px;
}

.news-translation,
.news-original {
    font-size: 14px;
    color: #666;
    margin-top: 18px;
}

.news-original a {
    color: #1e88e5;
    word-break: break-all;
}

.news-disclaimer {
    border-top: 1px solid #eef1f5;
    margin-top: 32px;
    padding-top: 18px;
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

.news-empty {
    background: #fff;
    border-radius: 6px;
    padding: 32px;
    color: #777;
}

/* 首页「染色体结构变异最新内容」模块 */
.home-news {
    padding: 64px 0;
}

.home-news-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.home-news-head h2 {
    font-size: 32px;
    line-height: 1.35;
    color: #1e88e5;
}

.home-news-more {
    color: #1e88e5;
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
}

.home-news-more:hover {
    text-decoration: underline;
}

.home-news-intro {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.home-news-item {
    background: #fff;
    border-radius: 6px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.home-news-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-news-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
}

.home-news-top time {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

.home-news-item h3 {
    font-size: 18px;
    line-height: 1.45;
    margin: 12px 0;
}

.home-news-item h3 a {
    color: #222;
    text-decoration: none;
}

.home-news-item h3 a:hover {
    color: #1e88e5;
}

.home-news-item p {
    color: #555;
    font-size: 14px;
    flex: 1;
}

.home-news-foot {
    font-size: 13px;
    color: #888;
    margin-top: 20px;
}

.home-news-empty {
    background: #fff;
    border-radius: 6px;
    padding: 24px;
    color: #777;
}

@media (max-width: 640px) {
    .news-page { padding-top: 28px; }
    .news-hero, .news-detail { padding: 24px; }
    .news-list { grid-template-columns: 1fr; }
    .news-hero h1, .news-detail h1 { font-size: 26px; }
    .home-news { padding: 36px 0; }
    .home-news-head { flex-direction: column; align-items: flex-start; }
    .home-news-head h2 { font-size: 26px; }
    .home-news-grid { grid-template-columns: 1fr; }
}
