* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    color: #0088cc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff6600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    width: 300px;
    font-size: 14px;
}

.search-box button {
    padding: 10px 25px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #e55a00;
}

nav {
    background: #006699;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    background: #0088cc;
}

main {
    padding: 30px 0;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.featured-news {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.featured-news h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #006699;
    border-left: 4px solid #ff6600;
    padding-left: 15px;
}

.featured-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.featured-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.featured-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-list {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.news-list h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #006699;
    border-left: 4px solid #ff6600;
    padding-left: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-meta {
    font-size: 13px;
    color: #888;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #006699;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.popular-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.popular-list li:last-child {
    border-bottom: none;
}

.popular-list a {
    display: block;
    font-size: 14px;
}

article {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: #888;
    font-size: 14px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination a:hover {
    background: #0088cc;
    color: white;
}

.pagination .current {
    background: #0088cc;
    color: white;
}

footer {
    background: #2c3e50;
    color: #95a5a6;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .search-box input {
        width: 200px;
    }
    
    .featured-item {
        flex-direction: column;
    }
    
    article {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
}
