/* 基础样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

/* 主容器 */
.main-container {
    display: flex;
    width: 1300px;
    margin: 0 auto;
    gap: 20px;
}

/* 左侧学术动态模块 */
.academic-news, .tab-container {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.academic-news{
	margin-top: -8px; /* 根据需要调整这个值 */
}

/* 公共头部样式 */
.news-header, .tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.news-header h1 a{
    font-size: 18px;
    margin: 0;
	color: #1A645C;
}
.news-header a {
	font-size: 14px;
	color: #1A645C;
	}

.more-link {
    color: #e74c3c;
    font-size: 14px;
    text-decoration: none;
}

/* 下划线 */
.underline {
	border: 0;
	height: 2px;
    background: #1A645C;
    margin: 10px 0;
	border-radius: 2px;
}

/* 特色新闻 */
.featured-news {
    padding: 0 10px;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

.news-image {
    flex: 1;
}

.news-image img {
    width: 100%;
    height: 250px;
    border-radius: 4px;
}

.news-content {
    flex: 1;
}

.news-content h2 {
    font-size: 18px;
    margin: 0 0 10px;
	line-height: 1.6;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: black;
    font-size: 10px;
    text-decoration: none;
    font-weight: bold;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
}

.news-list li a {
    color: #333;
    text-decoration: none;
}

.news-list li a:hover {
    color: #e74c3c;
}

.news-list li span {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 右侧标签页样式 */
.tab-header {
    margin-bottom: 10px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
	margin-top: -12px;
}

.tab-button {
    padding: 12px 24px;
    font-size: 16px;
    color: #1A645C;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
}

.tab-button:hover {
    color: #1A645C;
    font-weight: bold;
    background-color: darkred;
}

.tab-button.active {
    color: #1A645C;
    font-weight: bold;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* 默认选中"研究生教育" */
.tab-button.active {
    color: white;
    font-weight: bold;
    background-color: #1A645C;
}
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-container {
        flex-direction: column;
    }
    
    .news-item {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .news-list li {
        flex-direction: column;
    }
    
    .news-list li span {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    s.tab-button {
        padding: 8px 16px;
    }
    
    .tab-button.active::after {
        bottom: -8px;
    }
}
.news-content a{
	color: black;
	font-size: 18px;
}