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

body {
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #fefefe;
    color: #1a2a3a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 20px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER & NAVIGATION (with scroll effect) ========== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), 0 1px 0 #eaeef2;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    color: #0b2b3b;
}

.logo span {
    color: #e05a2a;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e44;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #e05a2a;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #1e2f3a;
    transition: 0.2s;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: #f2f4f6;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e6e9;
}

.announcement-bar p {
    text-align: center;
}

.announcement-bar a {
    color: #e05a2a;
    text-decoration: none;
    font-weight: 500;
}

/* ========== BREADCRUMB ========== */
.breadcrumb-section {
    padding: 28px 0 16px;
    background: #ffffff;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    font-size: 0.9rem;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 40px;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

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

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #8e9eae;
    font-size: 1.1rem;
}

.breadcrumb-list a {
    text-decoration: none;
    color: #2c5a6e;
    font-weight: 500;
}

.breadcrumb-list a:hover {
    color: #e05a2a;
}

.breadcrumb-list .current {
    color: #1e2f3a;
    font-weight: 600;
}

/* ========== TWO COLUMN LAYOUT (list + detail) ========== */
.two-col-layout {
    display: flex;
    gap: 48px;
    margin: 32px 0 48px;
}

.main-content {
    flex: 2.2;
    min-width: 0;
}

.sidebar {
    flex: 1;
}

/* ========== CARDS (HOME & LIST) ========== */
/* Featured Grid (Home) */
.section {
    margin: 48px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f2938;
}

.section-line {
    display: block;
    width: 60px;
    height: 3px;
    background: #e05a2a;
    margin: 12px auto;
    border-radius: 4px;
}

.section-header p {
    color: #4b6f82;
    font-size: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #eef2f8;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

.card-img {
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e05a2a;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    text-transform: uppercase;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-content h3 a {
    text-decoration: none;
    color: #1a2a3a;
    transition: color 0.2s;
}

.card-content h3 a:hover {
    color: #e05a2a;
}

.card-content p {
    color: #3a5468;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.meta-info {
    font-size: 0.75rem;
    color: #8a9eb0;
    display: flex;
    gap: 12px;
}

/* List Page Card (horizontal variant) */
.list-card {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.25s ease;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f7;
}

.list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
    background: #fff;
    border-radius: 24px;
    padding: 8px 12px;
    margin: 0 -12px;
}

.list-card-img {
    flex: 0 0 35%;
    border-radius: 16px;
    overflow: hidden;
}

.list-card-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s;
}

.list-card:hover .list-card-img img {
    transform: scale(1.02);
}

.list-card-content {
    flex: 1;
}

.list-card-content .card-category {
    position: static;
    display: inline-block;
    background: #f0eef9;
    color: #c04a1e;
    margin-bottom: 10px;
}

.list-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card-content h3 a {
    text-decoration: none;
    color: #1a2a3a;
    transition: color 0.2s;
}

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

/* ========== CATEGORY HIGHLIGHT (HOME) ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cat-card {
    background: #fff;
    border-radius: 28px;
    padding: 20px;
    border: 1px solid #eef2f8;
    transition: 0.2s;
}

.cat-card:hover {
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.08);
}

.cat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.micro-article a {
    text-decoration: none;
    font-weight: 500;
    color: #1e3a4a;
}

.micro-article a:hover {
    color: #e05a2a;
}

.micro-date {
    font-size: 0.7rem;
    color: #8a9eb0;
    display: block;
    margin-top: 4px;
}

/* ========== SPECIAL REPORT ========== */
.report-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.report-card {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 28px;
    border: 1px solid #eef2f8;
    overflow: hidden;
}

.report-card.reverse {
    flex-direction: row-reverse;
}

.report-img {
    flex: 0 0 20%;
}

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

.report-content {
    flex: 1;
    padding: 24px;
}

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

.report-content h3 a {
    text-decoration: none;
    color: #1a2a3a;
    transition: color 0.2s;
}

.badge {
    background: #e05a2a10;
    color: #e05a2a;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 12px;
}

/* ========== TOPICS CHIPS ========== */
.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.topic-chip {
    background: #f0f2f5;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c5a6e;
    transition: all 0.2s;
}

.topic-chip:hover {
    background: #e05a2a;
    color: white;
}

/* ========== HOT NEWS (HOME) ========== */
.hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.hot-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f8;
}

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

.hot-content {
    padding: 18px;
}

.hot-tag {
    display: inline-block;
    background: #e05a2a20;
    color: #e05a2a;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 40px;
    margin-bottom: 10px;
}

/* ========== ARTICLE DETAIL PAGE ========== */
.article-header h1 {
    font-size: 2.4rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f2938;
}

.article-subhead {
    font-size: 1.2rem;
    color: #3e6b7e;
    font-weight: 400;
    margin-bottom: 1.2rem;
    border-left: 3px solid #e05a2a;
    padding-left: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #6c869a;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 1rem;
}

.author-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}

.article-body {
    font-size: 0.985rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
    color: #171717;
    margin-bottom: 2.5rem;
}

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

.article-body p {
    margin-bottom: 1.5rem;
}

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

.article-body img {
    max-width: 100%;
    border-radius: 20px;
    margin: 1.5rem 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.author-box-detailed {
    background: #f9fbfd;
    border-radius: 24px;
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #eef2f8;
}

.author-box-detailed img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.share-section {
    margin: 2rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.share-btn {
    background: #f0f2f5;
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c5a6e;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    background: #e05a2a;
    color: white;
}

.comments-section {
    margin: 2rem 0;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #dee4ea;
    border-radius: 20px;
    font-family: inherit;
}

.comment-form button {
    background: #e05a2a;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* ========== SIDEBAR (common for list + detail) ========== */
.sidebar-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 36px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 1px 2px #eef2f6;
    border: 1px solid #eef2f8;
}

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

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin:0 auto 16px;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    border-left: 4px solid #e05a2a;
    padding-left: 14px;
    margin-bottom: 20px;
}

.recommend-list,
.update-list,
.category-list {
    list-style: none;
}

.recommend-list li,
.update-list li {
    margin-bottom: 16px;
    border-bottom: 1px dashed #e9edf2;
    padding-bottom: 12px;
}

.recommend-list a,
.update-list a {
    text-decoration: none;
    font-weight: 500;
    color: #1e3a4a;
    display: block;
    margin-bottom: 6px;
}

.recommend-list a:hover,
.update-list a:hover {
    color: #e05a2a;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    text-decoration: none;
    background: #f2f5f9;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #2a4858;
    transition: all 0.2s;
}

.category-list a:hover {
    background: #e05a2a;
    color: white;
}

/* ========== PAGINATION ========== */
.pagination {
    margin: 48px 0 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 40px;
    background: #fff;
    border: 1px solid #dee4ea;
    text-decoration: none;
    font-weight: 500;
    color: #2c5a6e;
    transition: 0.2s;
}

.pagination a:hover {
    background: #e05a2a;
    border-color: #e05a2a;
    color: white;
}

.pagination .active-page {
    background: #e05a2a;
    color: white;
    border-color: #e05a2a;
}

.related-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1.2rem;
}

.related-card h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-card .meta {
    font-size: 0.7rem;
    color: #8a9eb0;
}

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.25s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f8;
}

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

.related-card h4 a {
    text-decoration: none;
    color: #1e3a4a;
}

/* ========== AUTHOR PAGE ========== */
.author-profile {
    padding: 48px 0 32px;
}

.author-card {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid #eef2f8;
}

.author-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 2rem;
}

.author-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e05a2a20;
}

.author-header-info h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #0f2938;
}

.author-title {
    font-size: 1.2rem;
    color: #e05a2a;
    font-weight: 600;
}

.author-stats {
    display: flex;
    gap: 1.8rem;
    margin: 1.5rem 0 0;
    flex-wrap: wrap;
}

.stat-item {
    background: #f9fbfd;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
}

.author-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-social-links a {
    text-decoration: none;
    background: #f0f2f5;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #2c5a6e;
    transition: 0.2s;
}

.author-social-links a:hover {
    background: #e05a2a;
    color: white;
}

.author-bio-detailed {
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
    color: #171717;
}

.achievement-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.achievement-list li {
    background: white;
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid #dee4ea;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #0f212e;
    color: #dce5ec;
    padding: 56px 0 32px;
    margin-top: 40px;
}

.site-footer p {
    text-align: center;
    margin: 0;
}

.site-footer a {
    color: #dce5ec;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    color: #e05a2a;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: #cbdde6;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #e05a2a;
}

.newsletter-static form {
    display: flex;
    margin-top: 12px;
    gap: 8px;
}

.newsletter-static input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 40px;
    border: none;
    background: #1f3b48;
    color: white;
}

.btn-subscribe {
    background: #e05a2a;
    border: none;
    padding: 0 16px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #e05a2a;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 60px;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .two-col-layout {
        flex-direction: column;
    }

    .nav-menu {
        position: fixed;
        top: 54px;
        left: -100%;
        background: white;
        width: 80%;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
        transition: left 0.3s;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .report-card,
    .report-card.reverse {
        flex-direction: column;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }
}

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

    .nav-container {
        height: 54px;
    }

    .article-meta {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .list-card {
        flex-direction: column;
    }

    .list-card-img {
        width: 100%;
    }

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

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

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