* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a73e8;
    --primary-dark: #111111;
    --secondary-dark: #222222;
    --primary-gray: #333333;
    --secondary-gray: #666666;
    --light-gray: #999999;
    --border-gray: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-primary: #111111;
    --text-secondary: #666666;
    --hover-blue: #1557b0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background-color: var(--primary-dark);
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

.header-top-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 12px;
}

.header-top-links {
    display: flex;
    gap: 20px;
}

.header-top-links a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header-top-links a:hover {
    color: white;
}

.header-main {
    padding: 12px 0;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -1.5px;
    line-height: 1;
}

.logo span {
    color: var(--primary-blue);
}

.logo:hover {
    opacity: 0.9;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    position: relative;
}

nav a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box input {
    padding: 10px 20px;
    border: 1px solid var(--border-gray);
    border-radius: 25px;
    font-size: 14px;
    width: 240px;
    transition: all var(--transition-fast);
    background-color: var(--bg-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.search-box button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.search-box button:hover {
    background-color: var(--hover-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

main {
    padding: 32px 0;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-category {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-summary {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
}

.hero-link:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(26, 115, 232, 0.5));
    border-radius: 2px;
}

.section-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.section-more:hover {
    color: var(--hover-blue);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.article-title:hover {
    color: var(--primary-blue);
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--light-gray);
}

.article-author {
    font-weight: 600;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.featured-main {
    background-color: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-main-image {
    height: 360px;
}

.featured-main-image img {
    height: 100%;
}

.featured-main-content {
    padding: 28px;
}

.featured-main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.featured-main-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-main-title:hover {
    color: var(--primary-blue);
}

.featured-main-summary {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-side-item {
    display: flex;
    gap: 16px;
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.featured-side-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.featured-side-image {
    width: 130px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.featured-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-side-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.featured-side-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-side-title:hover {
    color: var(--primary-blue);
}

.featured-side-meta {
    font-size: 12px;
    color: var(--light-gray);
}

.quick-news {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.quick-news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quick-news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-gray);
    transition: all var(--transition-fast);
}

.quick-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quick-news-item:hover {
    background-color: var(--bg-light);
    margin: 0 -10px;
    padding: 10px;
    border-radius: 10px;
}

.quick-news-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.25;
    line-height: 1;
}

.quick-news-content {
    flex: 1;
}

.quick-news-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-news-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.quick-news-title:hover {
    color: var(--primary-blue);
}

.quick-news-time {
    font-size: 12px;
    color: var(--light-gray);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gray), transparent);
    margin: 40px 0;
}

.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--hover-blue);
}

.article-detail-header {
    margin-bottom: 32px;
}

.article-detail-category {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-detail-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    color: var(--text-secondary);
}

.article-detail-author {
    font-weight: 700;
    color: var(--text-primary);
}

.article-detail-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-detail-image {
    width: 100%;
    max-height: 550px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    background-color: var(--bg-light);
}

.article-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-detail-content {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-primary);
}

.article-detail-content p {
    margin-bottom: 28px;
}

.article-detail-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.article-detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-detail-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--text-secondary);
    background-color: var(--bg-light);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}

.article-detail-content ul,
.article-detail-content ol {
    margin-left: 32px;
    margin-bottom: 24px;
}

.article-detail-content li {
    margin-bottom: 12px;
}

.related-articles-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 2px solid var(--border-gray);
}

.search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.search-header {
    margin-bottom: 32px;
}

.search-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.search-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.search-query {
    color: var(--primary-blue);
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 80px 24px;
    background-color: var(--bg-white);
    border-radius: 16px;
}

.no-results h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.no-results p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.no-results a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.no-results a:hover {
    text-decoration: underline;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
}

.page-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.page-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.page-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.page-content p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
    margin-left: 28px;
    margin-bottom: 18px;
}

.page-content li {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--text-primary);
}

footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 56px 0;
    margin-top: 56px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #999;
}

.footer-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 14px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer-section a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 1100px) {
    .content-row {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .featured-section {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 42px;
    }

    .featured-main-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-container {
        flex-direction: column;
        gap: 16px;
        padding: 12px 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .search-box {
        width: 100%;
        justify-content: center;
    }

    .search-box input {
        width: 100%;
        max-width: 320px;
    }

    .hero-section {
        padding: 40px 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-summary {
        font-size: 17px;
    }

    .container {
        padding: 0 16px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-detail {
        padding: 24px 16px;
    }

    .article-detail-title {
        font-size: 32px;
    }

    .article-detail-content {
        font-size: 16px;
    }

    .featured-main-image {
        height: 220px;
    }

    .featured-side-item {
        flex-direction: column;
    }

    .featured-side-image {
        width: 100%;
        height: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 28px;
    }

    nav a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .article-detail-title {
        font-size: 28px;
    }

    .featured-main-image {
        height: 180px;
    }
}