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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #171717;
    line-height: 1.5;
    scroll-behavior: smooth;
}

ul,
li {
    list-style: none;
}

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

a {
    text-decoration: none;
    color: #1a1a2e;
    transition: color 0.2s ease;
}

a:hover {
    color: #2c5282;
}

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

/* ==================== HEADER & NAVIGATION ==================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1a1a2e;
}

.logo span {
    color: #e63946;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu li a {
    font-weight: 500;
    font-size: 1rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 12px;
    color: #1a1a2e;
}

/* ==================== TOP ANNOUNCEMENT ==================== */
.top-announcement {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.announce-text {
    display: inline-block;
    color: #4a5568;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-nav {
    margin: 24px 0 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
    font-size: 0.85rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #adb5bd;
}

.breadcrumb a {
    color: #4a5568;
}

.breadcrumb a:hover {
    color: #e63946;
}

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

.section {
    padding: 48px 0;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    color: #6c757d;
}

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

.cat-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.cat-title-badge {
    background: #f1f3f5;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-bottom: 1px solid #e9ecef;
}

.cat-articles {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.card-horizontal .card-img {
    flex-shrink: 0;
    width: 100px;
    border-radius: 12px;
    overflow: hidden;
}

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

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

.card-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-vertical .card-img {
    border-radius: 16px;
    overflow: hidden;
}

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

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

.card-overlay {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

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

.card-overlay .card-content {
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.card-overlay .card-tag,
.card-overlay .card-meta {
    color: #f8f9fa;
}

.card-overlay h3 a {
    color: white;
}

.card-tag {
    display: inline-block;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-content h3,
.card-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content p,
.excerpt {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 8px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.report-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

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

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

.report-content {
    padding: 20px;
}

.hot-topics {
    background: #f8f9fa;
    border-radius: 24px;
    margin: 48px 0;
    padding: 32px 0;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.topic-chip {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.topic-chip:hover {
    background: #e63946;
    color: white;
    transform: translateY(-2px);
}

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

.card-standard {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

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

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

.card-standard .card-content {
    padding: 20px;
}

.two-columns {
    display: flex;
    gap: 48px;
    margin: 40px 0 60px;
}

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

.sidebar {
    flex: 0 0 30%;
}

.category-heading {
    font-size: 2rem;
    margin-bottom: 8px;
}

.category-description {
    color: #6c757d;
    margin-bottom: 32px;
    border-left: 3px solid #e63946;
    padding-left: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.list-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

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

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

.list-card .card-content {
    padding: 18px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 48px 0 24px;
    flex-wrap: wrap;
}

.page-prev,
.page-next,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 40px;
    background: #f1f3f5;
    color: #1a1a2e;
    font-weight: 500;
    transition: all 0.2s;
}

.page-num.active {
    background: #e63946;
    color: white;
}

.page-prev:hover,
.page-next:hover,
.page-num:hover:not(.active) {
    background: #e2e6ea;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
}

.sidebar-widget h3,
.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.author-widget h3{
    text-align: center;
}

.author-bio {
    font-size: 0.85rem;
    color: #4a5568;
}

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

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

.sidebar-list a {
    font-size: 0.9rem;
    line-height: 1.4;
}

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

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

.article-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 32px;
    color: #6c757d;
    font-size: 0.85rem;
}

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

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

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

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

.article-categories {
    margin: 24px 0;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.article-cat-link {
    background: #e9ecef;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.author-bio-card {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    gap: 24px;
    margin: 32px 0;
}

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

.author-bio-info h4 {
    margin-bottom: 8px;
}

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

.share-btn {
    background: #f1f3f5;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    transition: all 0.2s;
    cursor: pointer;
}

.share-btn:hover {
    background: #e2e6ea;
    transform: translateY(-2px);
}

.comments-section {
    margin-top: 48px;
    border-top: 1px solid #e9ecef;
    padding-top: 32px;
}

.comment {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dee2e6;
    background-size: cover;
}

.comment-name {
    font-weight: 600;
}

.comment-date {
    font-size: 0.7rem;
    color: #6c757d;
    margin-left: 8px;
}

.comment-text {
    margin-top: 6px;
    line-height: 1.5;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-family: inherit;
    margin: 12px 0;
}

.btn-submit {
    background: #1a1a2e;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #2c2c44;
}

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

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

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
}

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

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

.related-content {
    padding: 12px;
}

.author-profile-full {
    margin: 40px 0 60px;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 32px;
    margin-bottom: 40px;
}

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

.author-info {
    flex: 1;
}

.author-info h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.author-title {
    font-size: 1rem;
    color: #e63946;
    margin-bottom: 12px;
}

.author-meta {
    display: flex;
    gap: 24px;
    margin: 16px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.author-social a {
    margin-right: 20px;
    font-size: 0.9rem;
}

.author-bio-full {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 48px;
}

.author-bio-full h2 {
    margin-bottom: 20px;
}

.author-bio-full p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.author-latest h2 {
    margin-bottom: 32px;
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #e63946;
    border-radius: 40px;
    color: #e63946;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #e63946;
    color: white;
}

.site-footer {
    background: #1a1a2e;
    color: #cbd5e0;
    padding: 24px 0;
    margin-top: 80px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: #cbd5e0;
    transition: color 0.2s;
}

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

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

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

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

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

.back-to-top:hover {
    background: #e63946;
    transform: translateY(-4px);
}

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

    .main-content,
    .sidebar {
        flex: 1;
    }

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

@media (max-width: 768px) {
    .article-meta-top {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .author-bio-avatar{
        margin: 0 auto;
    }

    .container {
        padding: 0 20px;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 16px;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

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

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

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

    .article-title {
        font-size: 1.4rem;
    }

    .report-card {
        margin-bottom: 24px;
    }

    .top-announcement {
        white-space: normal;
    }
}