/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #444;
    line-height: 1.6;
    background: #f5f5f5;
}
a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #333;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background: #333;
    color: #fff;
    padding: 15px 0;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.logo {
    font-size: 24px;
    font-weight: bold;
}
.logo a {
    color: #fff;
}
.header-contact {
    font-size: 14px;
}
.header-contact span {
    margin-left: 20px;
}

/* 导航样式 */
.main-nav {
    background: #444;
}
.nav-list {
    display: flex;
    list-style: none;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: block;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
}
.nav-link:hover, .nav-link.active {
    background: #222;
}

/* 英雄区样式 */
.hero {
    height: 400px;
    background: #555;
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.hero-content {
    max-width: 600px;
}
.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.hero-btn {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 10px 25px;
    border-radius: 4px;
}
.hero-btn:hover {
    background: #000;
    color: #fff;
}

/* 卡片区块样式 */
.cards-section {
    margin-bottom: 60px;
}
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #666;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img {
    height: 180px;
    background: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    overflow:hidden
}
.card-content {
    padding: 20px;
}
.card-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}
.card-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.card-more {
    display: inline-block;
    color: #444;
    font-weight: 500;
}
.card-more:hover {
    color: #000;
}

/* 双列内容区 */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.main-content {
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.sidebar-content {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.sidebar-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #666;
    color: #333;
}

/* 新闻列表样式 */
.news-list {
    margin-top: 20px;
}
.news-item {
    padding: 15px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: flex-start;
}
.news-item:last-child {
    border-bottom: none;
}
.news-date {
    min-width: 80px;
    text-align: center;
    background: #f0f0f0;
    padding: 8px 5px;
    margin-right: 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}
.news-info {
    flex: 1;
}
.news-title {
    margin-bottom: 5px;
}
.news-title a:hover {
    color: #000;
    text-decoration: underline;
}
.news-brief {
    font-size: 14px;
    color: #666;
}

/* 列表页样式 */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.page-title {
    font-size: 24px;
    color: #333;
}
.breadcrumb {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}
.breadcrumb a {
    color: #777;
}
.breadcrumb a:hover {
    color: #333;
}
.breadcrumb span {
    margin: 0 5px;
}

/* 文章页样式 */
.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.article-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}
.article-meta {
    color: #777;
    font-size: 14px;
}
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.article-content p {
    margin-bottom: 20px;
}
.article-img {
    height: 300px;
    background: #777;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow:hidden
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 18px;
    background: #444;
    color: #fff;
    border-radius: 4px;
}
.back-btn:hover {
    background: #222;
    color: #fff;
}

/* 底部样式 */
.footer {
    background: #333;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 60px;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ccc;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-contact p {
    margin-bottom: 10px;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 14px;
}
.copyright a {
    color: #ccc;
}
.copyright a:hover {
    color: #fff;
}