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

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

main {
    flex: 1;
}

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

a:hover {
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

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


.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title{
    margin-bottom: 25px;
}

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

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

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

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

.logo span {
    color: #c44536;
    font-weight: 400;
}

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

.main-nav a {
    color: #2d3e50;
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: #c44536;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #1e2a37;
    margin: 3px 0;
    transition: 0.3s;
}


.top-banner {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.top-banner .badge {
    background: #c44536;
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 0.8rem;
    text-transform: uppercase;
}

.top-banner a {
    color: #0b253a;
    font-weight: 600;
}


.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 500;
}

.view-all {
    font-weight: 500;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

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

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

.card-content {
    padding: 1.5rem;
    flex: 1;
}

.tag {
    display: inline-block;
    background: #e9eef3;
    color: #2d3e50;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h3 a {
    color: #0b253a;
}

h3 a:hover {
    color: #c44536;
    text-decoration: none;
}

.excerpt {
    color: #4a5a6e;
    margin: 0.5rem 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta {
    font-size: 0.9rem;
    color: #6f7d8c;
}

.author {
    font-weight: 600;
    color: #2d3e50;
}

.card-accent .tag {
    background: #8e44ad;
    color: white;
}

.card-light {
    background: #f9fbfd;
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #f4f8fc;
    border-radius: 24px;
    padding: 2rem;
}

.report-text .label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c44536;
    font-weight: 600;
    font-size: 0.9rem;
}

.report-text h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 1rem 0;
}

.summary {
    color: #345;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.category-card {
    background: #f0f5fa;
    border-radius: 40px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    color: #1e2a37;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.category-card:hover {
    background: #ffffff;
    border-color: #cbd5e0;
    transform: scale(1.02);
    text-decoration: none;
}

.cat-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.3rem;
}

.cat-name {
    font-weight: 600;
    display: block;
}

.cat-count {
    font-size: 0.8rem;
    color: #6f7d8c;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-img-hor {
    flex: 0 0 240px;
    aspect-ratio: 4  / 3;
    /* margin-right: 1rem; */
}

.card-img-hor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-list .list-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.compact-list .list-item:last-child {
    border: none;
}

.list-item h4 {
    font-size: 1rem;
    margin-bottom: 0;
    flex: 1;
}

.list-item .time {
    color: #7b8a9b;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0b1a2a;
    color: #b0c4d9;
    padding: 1rem 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #b0c4d9;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

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

.footer-bottom {
    text-align: center;
}

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

.footer-bottom a {
    color: #b0c4d9;
}

.category-layout {
    padding: 1rem 0 3rem;
}

.two-column {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 20px;
    align-items: start;
}

.content-main {
    background: #fff;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eaeef2;
    padding-bottom: 0.5rem;
}

.card-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-list {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

.card-list:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.card-list .card-img {
    flex: 0 0 240px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.card-list .card-content {
    flex: 1;
    padding: 1.2rem 1.5rem 1.2rem 0;
}

.card-list h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.card-list .excerpt {
    margin: 0.3rem 0 0.6rem;
}

.sidebar-card {
    background: #f8fbfe;
    border-radius: 20px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid #e6edf4;
}

.sidebar-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: #0b253a;
}

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

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

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

.author-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: #4a5a6e;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.author-meta a {
    color: #0066cc;
    word-break: break-all;
}

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

.sidebar-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed #dce5ec;
    padding-bottom: 0.8rem;
}

.sidebar-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-list a {
    color: #1e2a37;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: #c44536;
    text-decoration: none;
}

.update-time {
    font-size: 0.8rem;
    color: #6f7d8c;
    margin-left: 0.5rem;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.category-list a {
    color: #1e2a37;
    font-weight: 500;
}

.category-list .count {
    background: #e2e8f0;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #2d3e50;
}

.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 40px;
    background: #f2f6fa;
    color: #2d3e50;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.page-link:hover {
    background: #e2e8f0;
    text-decoration: none;
    border-color: #cbd5e0;
}

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

.page-link.prev,
.page-link.next {
    background: white;
    border: 1px solid #cbd5e0;
}

.article-layout {
    padding: 1rem 0 3rem;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #0b253a;
}

.subhead {
    font-size: 1.2rem;
    color: #4a5a6e;
    margin-bottom: 1.5rem;
    font-weight: 400;
    border-left: 4px solid #c44536;
    padding-left: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid #eaeef2;
    border-bottom: 1px solid #eaeef2;
    margin-bottom: 2rem;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.author-name {
    font-weight: 600;
    color: #0b253a;
}

.meta-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #5f7485;
}

.meta-right time,
.meta-right .update-badge,
.meta-right .views {
    display: inline-flex;
    align-items: center;
}

.update-badge {
    background: #edf2f7;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
}

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

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

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

.article-body p:last-child {
    margin-bottom: 0;
}

.article-categories {
    margin: 1.5rem 0 2rem;
}

.article-categories .tag {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.author-info {
    display: flex;
    gap: 1.5rem;
    background: #f8fbfe;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e6edf4;
}

.author-avatar-large {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.author-details {
    flex: 1;
}

.author-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0b253a;
}

.author-bio-full {
    color: #4a5a6e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.author-social a {
    color: #2d3e50;
    font-size: 1.2rem;
    transition: color 0.2s;
}

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

.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px dashed #cbd5e0;
    border-bottom: 1px dashed #cbd5e0;
}

.share-btn {
    background: #eef2f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn:hover {
    background: #dce5ec;
}

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

.comment {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    background: #c44536;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.comment-body {
    flex: 1;
}

.comment-body time {
    font-size: 0.8rem;
    color: #6f7d8c;
    margin-left: 0.5rem;
}

.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.related-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.related-content {
    padding: 1rem;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-content h4 a {
    color: #0b253a;
}

.related-content .meta {
    font-size: 0.8rem;
    color: #6f7d8c;
}

.author-page {
    padding: 1rem 0 3rem;
}

.author-profile {
    max-width: 900px;
    margin: 0 auto;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    background: #f8fbfe;
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid #e6edf4;
}

.author-avatar-large {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.author-header-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    color: #0b253a;
}

.author-title {
    font-size: 1.2rem;
    color: #c44536;
    margin-bottom: 1rem;
}

.author-bio-full {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e2a37;
    margin-bottom: 3rem;
    padding: 0 0.5rem;
}

.author-bio-full p {
    margin-bottom: 1.5rem;
}

.author-latest h2 {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    font-weight: 500;
    border-bottom: 2px solid #eaeef2;
    padding-bottom: 0.5rem;
}

.author-latest .card-list {
    margin-bottom: 1rem;
}

.view-all-link {
    text-align: right;
    margin-top: 1.5rem;
}

.view-all-link .view-all {
    font-weight: 600;
    color: #c44536;
}

.breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    background: #f3f6f9;
    padding: 0.7rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 2rem;
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 0.5rem;
    color: #9aaeb9;
}

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

#backToTop:hover {
    background: #c44536;
}

@media (max-width: 1024px) {
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 100%;
    }

    .sidebar {
        margin-top: 2.5rem;
    }

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

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

    .card-list .card-content {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-horizontal {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        height: 54px;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid #eaeef2;
    }

    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .grid-3,
    .grid-2,
    .report-grid,
    .article-grid,
    .footer-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .compact-list .list-item {
        flex-wrap: wrap;
    }

    .article-header h1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        line-height: 1.3;
    }

    .subhead {
        font-size: 1rem;
    }

    .article-meta {
        gap: 0.5rem;
    }

    .author-name,
    .meta-right {
        font-size: 0.7rem;
        gap: 0.5rem;
    }



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

    .author-avatar-large {
        margin-bottom: 1rem;
    }

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

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

    .author-header-info h1 {
        font-size: 2rem;
    }

    .author-avatar-large {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 0.5rem;
    }

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

    .author-title {
        font-size: 1rem;
    }
}