/* 基础样式 */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --accent-color: #fbbc05;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --dark-bg: #1f2937;
    --darker-bg: #111827;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #34a853;
    --error-color: #ea4335;
    --font-main: 'Noto Sans SC', Arial, sans-serif;
    --font-heading: 'Noto Serif SC', serif;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    
    /* 分类标签颜色 */
    --economy-color: #34a853;
    --tech-color: #4285f4;
    --politics-color: #ea4335;
    --culture-color: #fbbc05;
    --education-color: #9c27b0;
    --sports-color: #ff6d00;
    --health-color: #00bcd4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* 头部样式 */
header {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

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

header h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.search-box {
    display: flex;
    margin-bottom: 10px;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    width: 250px;
}

.search-box button {
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
}

nav {
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a i {
    font-size: 0.9rem;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 突发新闻条 */
.breaking-news {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
}

.breaking-news .container {
    display: flex;
    align-items: center;
}

.breaking-label {
    background-color: #fff;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap;
}

.breaking-content {
    flex: 1;
    overflow: hidden;
}

.breaking-content marquee {
    font-weight: 500;
}

/* 主要内容区域 */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* 首页样式 */
/* 英雄区域 */
.hero-section {
    margin-bottom: 40px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slider {
    position: relative;
    height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.hero-slide.active {
    opacity: 1;
    display: block;
}

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

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 80%;
}

.btn-read {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-read:hover {
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.hero-nav span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav span.active {
    background-color: white;
    transform: scale(1.2);
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--radius);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.category-tag.economy {
    background-color: var(--economy-color);
}

.category-tag.tech {
    background-color: var(--tech-color);
}

.category-tag.politics {
    background-color: var(--politics-color);
}

.category-tag.culture {
    background-color: var(--culture-color);
}

.category-tag.education {
    background-color: var(--education-color);
}

.category-tag.sports {
    background-color: var(--sports-color);
}

.category-tag.health {
    background-color: var(--health-color);
}

/* 章节标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.view-all {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    text-decoration: none;
}

/* 头条新闻 */
.headlines {
    margin-bottom: 40px;
}

.featured-news-container {
    margin-bottom: 30px;
}

.featured-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.featured-news:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.featured-content h3 {
    font-size: 1.6rem;
    margin: 15px 0;
    font-family: var(--font-heading);
}

.news-meta {
    color: var(--lighter-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 8px;
    text-decoration: none;
}

/* 新闻卡片网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background-color: white;
}

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

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* 热门话题 */
.trending-section {
    margin: 40px 0;
}

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

.topic-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: var(--radius);
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.topic-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-right: 15px;
}

.topic-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.topic-count {
    font-weight: 500;
    color: var(--primary-color);
}

/* 分类部分 */
.categories {
    margin: 40px 0;
}

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

.category-card {
    padding: 25px;
    border-radius: var(--radius);
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
}

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

.category-card:hover::before {
    height: 10px;
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.category-card p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.article-count {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-bg);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--primary-color);
}

.popular-posts ul {
    list-style: none;
}

.popular-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.post-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-date {
    font-size: 0.8rem;
    color: var(--lighter-text);
}

.sidebar .subscription {
    background-color: white;
    text-align: left;
}

.sidebar .subscribe-form {
    flex-direction: column;
    margin: 15px 0 0;
}

.sidebar .subscribe-form input {
    width: 100%;
    margin-bottom: 10px;
    border-radius: var(--radius);
}

.sidebar .subscribe-form button {
    width: 100%;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* 新闻列表页样式 */
.news-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.category-filter h3,
.popular-news h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.category-filter ul,
.popular-news ul {
    list-style: none;
}

.category-filter li,
.popular-news li {
    margin-bottom: 10px;
}

.category-filter a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.category-filter a:hover,
.category-filter a.active {
    background-color: #e9f0fe;
    text-decoration: none;
}

.popular-news {
    margin-top: 30px;
}

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

.news-filter select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.news-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* 新闻详情页样式 */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-header {
    margin-bottom: 20px;
}

.news-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--lighter-text);
    margin-bottom: 20px;
}

.news-featured-image {
    margin-bottom: 30px;
}

.full-width-image {
    width: 100%;
    border-radius: 8px;
}

.image-caption {
    text-align: center;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 10px;
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.content h3 {
    margin: 30px 0 15px;
    font-family: var(--font-heading);
}

.content blockquote {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.related-news {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.related-news h3 {
    margin-bottom: 15px;
}

.related-news ul {
    list-style: none;
}

.related-news li {
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.share-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--light-bg);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: #e9f0fe;
    text-decoration: none;
}

.comments {
    max-width: 800px;
    margin: 40px auto 0;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: var(--secondary-color);
}

.comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 500;
}

.comment-date {
    color: var(--lighter-text);
    font-size: 0.9rem;
}

.comment-actions {
    margin-top: 10px;
}

.comment-actions a {
    margin-right: 15px;
    font-size: 0.9rem;
}

/* 隐私政策页面样式 */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--lighter-text);
    margin-bottom: 30px;
}

.policy-introduction {
    margin-bottom: 30px;
}

.policy-content h3 {
    margin: 30px 0 15px;
    font-family: var(--font-heading);
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

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

/* 关于我们页面样式 */
.about-us {
    max-width: 1000px;
    margin: 0 auto;
}

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

.about-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--light-text);
}

.company-intro {
    margin-bottom: 40px;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.values ul {
    margin-left: 20px;
}

.timeline {
    position: relative;
    margin: 30px 0 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.year {
    width: 100px;
    font-weight: bold;
    padding-right: 20px;
    text-align: right;
}

.event {
    flex: 1;
    padding-left: 40px;
}

.event::before {
    content: '';
    position: absolute;
    left: 116px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.position {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bio {
    font-size: 0.9rem;
}

.awards {
    margin-bottom: 40px;
}

.awards ul {
    margin-left: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.contact-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-thumbnail {
        height: 200px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .year {
        width: 60px;
    }
    
    .event {
        padding-left: 30px;
    }
    
    .event::before {
        left: 16px;
    }
}

/* APP横幅 */
.app-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    margin-top: 40px;
}

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

.app-content {
    flex: 1;
}

.app-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.app-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: white;
    color: var(--primary-color);
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.app-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    text-decoration: none;
}

.app-button i {
    font-size: 1.5rem;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-height: 400px;
    margin: 0 auto;
}

/* 页脚样式 */
footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

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

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: white;
    text-decoration: none;
}

.link-group li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .app-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-content {
        margin-bottom: 30px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-thumbnail {
        height: 200px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .year {
        width: 60px;
    }
    
    .event {
        padding-left: 30px;
    }
    
    .event::before {
        left: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 0;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    .header-right {
        width: 100%;
        align-items: center;
        margin-top: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}