
/* 全局弹性布局 */
html, body {
    height: 100%; /* 确保视口高度100% */
}
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
body {
    background: #F6F8FA;
    color: #1A1A1A;
}
button {
    cursor: default !important;
}
.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}
.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    margin-left: 32px;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #165DFF;
}


.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 32px;
}
.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* 新闻列表 */
.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22, 93, 255, 0.06);
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-8px);
}
.news-thumbnail {
    height: 200px;
    overflow: hidden;
}
.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}
.news-content {
    padding: 24px;
}
.news-meta {
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 8px;
}
.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.4;
}
.news-excerpt {
    color: #4B5563;
    line-height: 1.6;
}

/* 分页组件 */
.pagination {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.page-btn {
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.3s, color 0.3s;
}
.page-btn.active {
    background: #165DFF;
    color: white;
    box-shadow: 0 4px 16px rgba(22, 93, 255, 0.2);
}
.page-btn:hover {
    background: #f3f4f6;
}
.top_div{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* 确保头部层级最高 */
}
#footer-iframe {
    width: 100%;
    /* 确保iframe高度与实际页脚高度一致 */
    height: 232px;
}
/* 功能按钮容器 */
.function-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; /* 按钮间距 */
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #F5F9FF; /* 浅蓝背景 */
    border-radius: 12px;
}

/* 单个功能按钮 */
.function-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #165DFF;
    background: white; /* 白色背景 */
    border: 1px solid #b4caff; /* 淡蓝边框 */
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap; /* 防止文字换行 */
}

/*.function-btn:hover {*/
/*    background: #E5F0FF; !* 悬停时浅蓝色背景 *!*/
/*    border-color: #165DFF;*/
/*    color: #165DFF;*/
/*    transform: translateY(-1px);*/
/*}*/

/*.function-btn:active {*/
/*    transform: translateY(0);*/
/*    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);*/
/*}*/

/* 主功能按钮（突出显示，可选） */
/*.function-btn-primary {*/
/*    background: #165DFF;*/
/*    color: white;*/
/*}*/

/*.function-btn-primary:hover {*/
/*    background: #1249cc;*/
/*}*/