/* 主样式文件 */
:root {
    --primary: #009688;
    --primary-dark: #00796b;
    --primary-light: #4db6ac;
    --secondary: #ff9800;
    --secondary-dark: #f57c00;
    --accent: #795548;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: all 0.3s ease;
}

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn, 
button[type="submit"],
input[type="submit"] {
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

/* 卡片样式 */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* 头部导航 */
.navbar-top {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 14px;
}

.navbar-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-top-left,
.nav-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-top a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.navbar-top a:hover {
    opacity: 0.8;
}

.business-hours {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    font-size: 16px;
}

/* 主头部 */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo a {
    text-decoration: none;
    color: var(--text-primary);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}

.logo .tagline {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* 主导航 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

/* 搜索框 */
.search-box {
    position: relative;
    width: 300px;
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 45px;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

/* Hero区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 特色文章 */
.featured-articles {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-large {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-small {
    display: flex;
    flex-direction: column;
}

.featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-large .featured-image {
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-content {
    padding: 20px;
}

.featured-large .featured-content {
    padding: 30px;
}

.featured-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-large .featured-content h3 {
    font-size: 2rem;
}

.featured-content .excerpt {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.featured-content time {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 最新新闻 */
.latest-news {
    padding: 60px 0;
}

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

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-article {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-article a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-image {
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-article:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
}

.article-category {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-meta i {
    margin-right: 5px;
}

/* 侧边新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.news-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 120px;
}

.news-image {
    width: 150px;
    flex-shrink: 0;
}

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

.news-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.news-meta .category {
    background-color: var(--bg-light);
    padding: 2px 8px;
    border-radius: 3px;
}

/* 分类区域 */
.categories-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card a {
    text-decoration: none;
    color: inherit;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 标签云 */
.trending-tags {
    padding: 60px 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--bg-light);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
}

.tag:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* 文章页面 */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb li[aria-current="page"] {
    color: var(--text-secondary);
}

/* 单篇文章 */
.single-article {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.article-header .article-category {
    display: inline-block;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-left,
.meta-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-meta i {
    margin-right: 5px;
}

.views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 文章特色图 */
.article-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 10px;
    padding: 0 20px;
}

/* 文章内容 */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--primary);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: var(--radius);
    display: block;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.article-content th {
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 600;
    text-align: left;
}

.article-content th,
.article-content td {
    padding: 12px 15px;
    border: 1px solid var(--border);
}

.article-content tr:nth-child(even) {
    background-color: var(--bg-light);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* 文章页脚 */
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list .tag {
    font-size: 14px;
    padding: 5px 15px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-buttons span {
    font-weight: 600;
    color: var(--text-primary);
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.share-buttons a:nth-child(2):hover { background-color: #1877f2; color: white; } /* Facebook */
.share-buttons a:nth-child(3):hover { background-color: #1da1f2; color: white; } /* Twitter */
.share-buttons a:nth-child(4):hover { background-color: #0077b5; color: white; } /* LinkedIn */
.share-buttons a:nth-child(5):hover { background-color: #ea4335; color: white; } /* Email */

/* 推荐文章 */
.related-articles {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
}

.related-articles h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-article {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-article a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.related-content time {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

/* 文章列表页 */
.article-list-container {
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 分页 */
.pagination-wrapper {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 10px 15px;
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 600;
}

.page-link:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* 关于页面 */
.about-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-container h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
}

.about-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.about-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* 页脚 */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    margin-top: 60px;
}

.footer-top {
    padding: 60px 0 40px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-about p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #cccccc;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-links ul,
.footer-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a,
.footer-categories a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover,
.footer-categories a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.newsletter h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.newsletter p {
    color: #cccccc;
    margin-bottom: 15px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    background-color: #333333;
    color: #ffffff;
}

.newsletter-form input:focus {
    outline: none;
    background-color: #404040;
}

.newsletter-form button {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 14px;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .article-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
        margin-top: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-large {
        grid-column: span 1;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .meta-left, .meta-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-content h3 {
        font-size: 1.2rem;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .single-article {
        padding: 20px;
    }
    
    .related-articles {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

/* 打印样式 */
@media print {
    .main-header,
    .navbar-top,
    .footer,
    .share-buttons,
    .related-articles,
    .comments-section {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
    }
    
    .article-content {
        font-size: 12pt;
    }
    
    .article-content h1 {
        font-size: 18pt;
    }
    
    .article-content h2 {
        font-size: 16pt;
    }
    
    .article-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .breadcrumb {
        display: none;
    }
}