/* 整个新闻列表容器 */
#news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 每条新闻的容器：底部有明显分隔 */
.news-item {
    display: flex;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    margin-bottom: 20px;
    column-gap: 0 !important;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

/* 默认采用竖向布局（小屏幕） */
.news-content,
.news-image-container {
    width: 100%;
}

/* 左侧文字区域 */
.news-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.news-link {
    text-decoration: none;
    color: #37ac9a;
}

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

.news-description {
    font-size: 1rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.news-date {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* 图片区域 */
.news-image-container {
    margin-top: 1rem;
}

.news-image-container img {
    width: 100%;
    max-height: 120px; /* 控制图片最大高度 */
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-image-container img:hover {
    transform: scale(1.01);
}

/* 大屏幕下，两部分采用左右布局，且中间加分隔线 */
@media (min-width: 768px) {
    .news-item {
        display: grid;
        grid-template-columns: 2fr 1fr; /* 左边2份，右边1份 */
        gap: 2rem;
        align-items: start;
    }
    /* 左侧内容右边添加分隔线 */
    .news-content {
        border-right: 2px solid #e9ecef;
        padding-right: 1rem;
    }
    /* 右侧图片区域左边内边距 */
    .news-image-container {
        padding-left: 1rem;
        margin-top: 0;
    }

    .download-ppt-link {
        margin-left: 5px;
        font-size: 1.3rem;
        font-family: 'Times New Roman', Times, serif;
    }
}