﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部横幅 */
.banner {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a6fc9, #0a4d8c);
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: white;
    overflow: hidden;
}

.banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../image/background_grzy.png') ;
    background-size: cover;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1;
}

.logo-img {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
}

.logo-en {
    font-size: 12px;
    margin-top: 5px;
}

/* 导航菜单 */
.nav-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #0a4d8c;
}

.nav-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 10px;
    -webkit-overflow-scrolling: touch;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: inline-block;
    color: white;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 20px;
    font-size: 14px;
}

.nav-item.active {
    background-color: rgba(255,255,255,0.2);
}

/* 当前位置 */
.location {
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    background-color: #f5f7fa;
}

/* 内容容器 */
.container {
    padding: 15px;
}

/* 新闻动态 */
.section {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-title {
    width:60%;
    font-size: 16px;
    font-weight: bold;
    color: #0a4d8c;
    display: flex;
    align-items: center;
}

.section-title::before {
    
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #0a4d8c;
    margin-right: 8px;
    border-radius: 2px;
}

.section-more {
    font-size: 12px;
    color: #999;
}

.news-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-thumb {
    width: 100px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 10px;
    background-color: #f0f0f0;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 14px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 公告信息 */
.announce-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.announce-item:last-child {
    margin-bottom: 0;
}

.announce-icon {
    width: 8px;
    height: 8px;
    background-color:rgb(70, 140, 206);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 10px;
    flex-shrink: 0;
}

.announce-title {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 走进研究院 */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
}

.grid-icon {
    width: 40px;
    height: 40px;
    background-color:rgb(70, 140, 206);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    color: white;
}

.grid-title {
    font-size: 14px;
}

/* 科技创新和科研成果 */
.text-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.text-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.text-title {
    font-size: 14px;
    margin-bottom: 5px;
}

/* 应用系统 */
.grid-4-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.grid-item-small {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    font-size: 12px;
}

.grid-icon-small {
    width: 30px;
    height: 30px;
    background-color: #0a4d8c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px;
    color: white;
    font-size: 14px;
}

/* 对外交流 */
.exchange-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.exchange-box:last-child {
    margin-bottom: 0;
}

.exchange-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.exchange-title {
    font-size: 14px;
    font-weight: bold;
}

/* 页脚 */
.footer {
    background-color: #0a4d8c;
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-size: 12px;
}

.footer-info {
    margin-bottom: 15px;
    line-height: 1.8;
}

.qrcode {
    width: 100px;
    height: 100px;
    background-color: white;
    margin: 15px auto;
    padding: 5px;
    border-radius: 4px;
}

.qrcode-text {
    font-size: 12px;
    margin-top: 5px;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}
.mark-hs{
    background-color: rgb(255, 0, 0);
}