/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover {
    color: #1e88e5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.search-box {
    display: flex;
    width: 400px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box button {
    padding: 0 20px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

.user-actions a {
    margin-left: 15px;
    color: white;
    font-size: 14px;
}

/* 导航菜单 */
nav {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
}

.nav-menu li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 轮播图 */
.banner {
    height: 400px;
    background-color: #ddd;
    margin: 20px 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区 */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* 新闻卡片 */
.news-card {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1e88e5;
}

.more-link {
    font-size: 14px;
    color: #666;
}

.card-body {
    padding: 15px 20px;
}

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

.news-list li:last-child {
    border-bottom: none;
}

.news-list .date {
    color: #999;
    font-size: 13px;
}

/* 特色产业区块 */
.industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.industry-item {
    background-color: white;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e88e5;
    font-size: 24px;
}

.industry-name {
    font-weight: bold;
    margin-bottom: 5px;
}

/* 页脚 */
footer {
    background-color: #263238;
    color: #b0bec5;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #1e88e5;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #1e88e5;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #37474f;
    font-size: 14px;
}
