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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1a1e24;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #0a2647;
    transition: color 0.2s ease;
}

a:hover {
    color: #2f6eb3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    background-color: #eef2f6;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.tag.politics {
    background-color: #d4e6f1;
    color: #1a5276;
}

.tag.business {
    background-color: #fef9e7;
    color: #b45f06;
}

.tag.world {
    background-color: #e8f8f5;
    color: #0e6251;
}

.tag.climate {
    background-color: #d5f5e3;
    color: #186a3b;
}

.tag.sports {
    background-color: #fdedec;
    color: #b03a2e;
}

.tag.lifestyle {
    background-color: #f4ecf7;
    color: #76448a;
}

.site-header {
    border-bottom: 1px solid #eaeef2;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0b2b40;
}

.logo span {
    font-weight: 300;
    color: #4a6f8a;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-list a {
    font-weight: 500;
    color: #2c3e50;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: #2f6eb3;
    color: #0a2647;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1e24;
    line-height: 1;
}

.breaking-bar {
    background-color: #f8fbfd;
    border-bottom: 1px solid #dde3e9;
    padding: 12px 0;
    font-size: 0.95rem;
}

.breaking-label {
    background-color: #b22234;
    color: white;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 30px;
    margin-right: 12px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.breaking-text {
    color: #1a1e24;
    font-weight: 500;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 2rem 0 1.5rem;
    border-left: 6px solid #2f6eb3;
    padding-left: 1rem;
    color: #0b2b40;
}

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

.featured-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s;
}

.featured-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.featured-card .card-content {
    padding: 20px 16px 20px 16px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.featured-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 8px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card.small h3 {
    font-size: 1.2rem;
}

.excerpt {
    color: #3f4a54;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0;
}

.meta {
    font-size: 0.8rem;
    color: #6f7c8a;
}

.category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.horizontal-card {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.horizontal-card img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
}

.horizontal-card h4 {
    font-size: 1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.simple-card h4 {
    font-size: 0.95rem;
    margin: 8px 0 4px;
}

.special-report .report-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: #f9fbfd;
    border-radius: 24px;
    padding: 24px;
}

.report-main img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.report-content h3 {
    font-size: 1.6rem;
    margin: 16px 0 8px;
}

.side-list {
    list-style: none;
}

.side-list li {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.side-list li:last-child {
    border-bottom: none;
}

.side-list a {
    font-weight: 500;
    font-size: 1.05rem;
}

.hot-categories .category-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.cat-item {
    background: #f0f4f8;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
}

.cat-item span {
    font-size: 0.75rem;
    color: #5a6d7e;
    margin-left: 6px;
}

.cat-item:hover {
    background: #d9e2ef;
}

.latest-news .latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    transition: all 0.2s;
}

.news-card:hover {
    border-color: #b0c8da;
}

.news-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 15px;
    object-fit: cover;
}

.news-card h3 {
    margin: 10px 0 6px;
    font-size: 1.1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.9rem;
}

.site-footer {
    background: #f0f4f9;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #d6dee7;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li,
.footer-col p {
    color: #3f4f5f;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.footer-bottom {
    text-align: center;
    color: #6f7c8a;
    font-size: 0.8rem;
}

.footer-bottom P {
    text-align: center;
    margin: 0;
}

.footer-bottom a {
    color: #6f7c8a;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2f6eb3;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 99;
    transition: background 0.2s;
}

#backToTop:hover {
    background: #1b4f8b;
}

.breadcrumb-nav {
    margin: 20px 0 10px;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #a0b3c9;
}

.breadcrumb-list a {
    color: #2f6eb3;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list [aria-current="page"] {
    color: #1f2a36;
    font-weight: 500;
}

.category-page-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0 0 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.two-column-layout {
    display: flex;
    gap: 40px;
    margin: 40px auto;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.card-grid.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.post-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 15px;
}

.sidebar-card {
    background: #f9fbfd;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #e6edf4;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4e0ec;
}

.author-card {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 0.9rem;
    color: #3f4f5f;
    line-height: 1.6;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.sidebar-list li a {
    color: #1a1e24;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.sidebar-list li a:hover {
    color: #2f6eb3;
}

.sidebar-list.with-date li {
    display: flex;
    align-items: baseline;
}

.sidebar-list.with-date .date {
    min-width: 45px;
    font-size: 0.8rem;
    color: #6f7c8a;
    font-weight: 500;
    margin-right: 10px;
}

.sidebar-list.cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-list .count {
    background: #e2eaf2;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e3b5c;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 50px 0;
}

.page-link {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid #ccdbe9;
    color: #1e293b;
    font-size: 0.9rem;
}

.page-link.active {
    background: #2f6eb3;
    color: white;
    border-color: #2f6eb3;
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.tag-cloud {
    background: #f8fafc;
    padding: 24px;
    border-radius: 30px;
    margin-bottom: 40px;
}

.tag-cloud h3 {
    margin-bottom: 16px;
    font-weight: 500;
}

.tag-cloud a {
    display: inline-block;
    background: white;
    border: 1px solid #ccdbe9;
    padding: 6px 18px;
    border-radius: 40px;
    margin: 0 8px 10px 0;
    font-size: 0.9rem;
}

.detail-article {
    background: #fff;
    border-radius: 24px;
    padding: 0 0 20px 0;
}

.detail-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0b1c2e;
}

@media (max-width: 640px) {
    .detail-title {
        font-size: 1.4rem;
    }
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.9rem;
    color: #4a5b6b;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-mini-name {
    font-weight: 600;
    color: #1f2a36;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.detail-body {
    font-size: 0.985rem;
    line-height: 1.75;
    color: #171717;
    letter-spacing: 0.2px;
    margin-bottom: 40px;
}

.detail-body img {
    margin: 0 auto;
}

.detail-body p {
    margin: 0 0 1.8em 0;
}

.detail-body h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
}

.detail-body .lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: #2c3e50;
    border-left: 4px solid #2f6eb3;
    padding-left: 20px;
    margin: 0 0 2em 0;
}

.detail-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f4f8fd;
    border-radius: 20px;
    font-style: italic;
    color: #1f3a5f;
}

.detail-body blockquote p {
    margin-bottom: 0.5rem;
}

.detail-body blockquote cite {
    font-size: 0.9rem;
    color: #4f6f8f;
    display: block;
    text-align: right;
}

.article-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px dashed #ccdbe9;
    border-bottom: 1px dashed #ccdbe9;
}

.tag-label {
    font-weight: 600;
    margin-right: 10px;
    color: #1f2a36;
}

.article-tags .tag {
    margin-right: 8px;
}

.detail-author-card {
    display: flex;
    gap: 24px;
    background: #f2f6fa;
    border-radius: 24px;
    padding: 24px;
    margin: 30px 0;
    align-items: center;
}

.author-avatar-large {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-role {
    font-size: 0.9rem;
    color: #2f6eb3;
    margin-bottom: 8px;
    font-weight: 500;
}

.author-bio {
    font-size: 0.95rem;
    color: #2d3f53;
    line-height: 1.6;
    margin-bottom: 12px;
}

.author-social a {
    font-size: 1.2rem;
    margin-right: 12px;
    color: #3f5e7c;
    text-decoration: none;
}

.author-social a:hover {
    color: #2f6eb3;
}

.share-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
}

.share-label {
    font-weight: 600;
    color: #1f2a36;
}

.share-button {
    background: #eef2f6;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.share-button:hover {
    background: #d8e2ed;
}

.detail-comments {
    margin-top: 40px;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
}

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

.comment {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeff5;
}

.comment-avatar {
    font-size: 2rem;
    background: #d9e2ef;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-body strong {
    font-size: 1rem;
}

.comment-time {
    font-size: 0.8rem;
    color: #5e6f82;
    margin-left: 12px;
}

.comment-form {
    background: #f8fafd;
    padding: 24px;
    border-radius: 24px;
}

.comment-form h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    margin-bottom: 16px;
    font-family: inherit;
    font-size: 0.95rem;
}

.comment-form textarea {
    border-radius: 24px;
    resize: vertical;
}

.btn-submit {
    background: #2f6eb3;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #1b4f8b;
}

.related-articles {
    margin-top: 50px;
}

.related-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
}

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

.related-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.related-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.related-card h4 {
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 16px 8px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .meta {
    padding: 0 16px 16px;
    font-size: 0.8rem;
}

.author-main {
    margin: 40px auto;
}

.author-profile-card {
    display: flex;
    gap: 48px;
    background: #f9fbfd;
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 48px;
    border: 1px solid #eef2f6;
    align-items: center;
}

.author-profile-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.author-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-info {
    flex: 1;
}

.author-profile-name {
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #0b1c2e;
}

.author-profile-role {
    font-size: 1.1rem;
    color: #2f6eb3;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.author-profile-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #1f2a36;
    margin-bottom: 24px;
}

.author-profile-bio p {
    margin-bottom: 1em;
}

.author-profile-social {
    display: flex;
    gap: 16px;
}

.author-profile-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2f6;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f3a5f;
    text-decoration: none;
    transition: background 0.2s;
}

.author-profile-social a:hover {
    background: #d8e2ed;
    color: #0b2b40;
}

.author-detail {
    margin-bottom: 48px;
}

.author-detail-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #eef2f6;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1f2a36;
}

.author-detail-content p {
    margin-bottom: 1.5em;
}

.latest-grid.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1000px) {
    .two-column-layout {
        flex-direction: column;
    }

    .main-content,
    .sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-grid.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .featured-stories .featured-grid {
        grid-template-columns: 1fr;
    }

    .category-row {
        grid-template-columns: 1fr;
    }

    .special-report .report-grid {
        grid-template-columns: 1fr;
    }

    .latest-news .latest-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .author-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .author-profile-social {
        justify-content: center;
    }

    .latest-grid.three-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .detail-meta {
        gap: 0.5rem;
    }

    .detail-meta {
        font-size: 0.75rem;
    }

    .related-grid {
        grid-template-columns: 100%;
    }

    .nav-list {
        display: none;
    }

    .main-nav.open .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        gap: 1rem;
        border-top: 1px solid #ddd;
    }

    .hamburger {
        display: block;
    }

    .latest-news .latest-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .meta-line {
        flex-wrap: wrap;
    }

    .share-button {
        margin-left: 0;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .card-grid.two-col {
        grid-template-columns: 1fr;
    }

    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 5px;
    }

    .author-profile-name {
        font-size: 2rem;
    }

    .author-profile-avatar {
        width: 150px;
        height: 150px;
    }

    .latest-grid.three-col {
        grid-template-columns: 1fr;
    }

    .author-detail-content {
        padding: 20px;
    }
}