/* 文件路径：assets/css/style.css */
/* 以下为必须的基础样式 */

/* 基础布局 */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    line-height: 1.6;
}

/* 左侧导航栏样式 */
.sidebar {
    width: 220px;
    background: #002856; /* 深蓝色背景 */
    padding: 20px;
    min-height: 100vh;
    position: fixed; /* 固定导航栏 */
    overflow-y: auto; /* 内容过多时显示滚动条 */
}

.logo {
    width: 180px;
    margin: 20px 0 40px;
    display: block;
}

/* 导航链接交互效果 */
.nav-link {
    color: #fff !important;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

.nav-link:hover {
    border-bottom: 1px solid #fff;
    padding-left: 10px; /* 悬停时产生位移效果 */
}

/* 右侧内容区样式 */
.content {
    flex: 1;
    padding: 40px 60px;
    margin-left: 220px; /* 与侧边栏宽度一致 */
    max-width: 800px;
}

h1 {
    color: #002856;
    border-bottom: 2px solid #002856;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* 新闻链接样式 */
.content a {
    color: #0066cc; /* 链接默认颜色 */
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
    color: #004499; /* 悬停颜色 */
}

.vertical-links {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* 设置间距 */
    margin-top: 40px;
}

.contact-card {
    width: 100%;  /* 占满容器宽度 */
    padding: 20px;
    border: 1px solid #eee;
    text-align: center;
}

.contact-img {
    max-width: 300px;  /* 控制图片最大宽度 */
    height: auto;
    display: block;
    margin: 0 auto;
}
