﻿* {
    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: #1a1e2b;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* ---------- HEADER & NAVIGATION (with scroll effect) ---------- */
.site-header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

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

.logo span {
    color: #2c7da0;
}

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

.main-nav .nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e4e;
    transition: color 0.2s;
}

.main-nav .nav-menu a:hover,
.main-nav .nav-menu a.active {
    color: #2c7da0;
}

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

.bar {
    width: 25px;
    height: 2px;
    background-color: #1e2a36;
    margin: 3px 0;
    transition: 0.3s;
}

/* ---------- TOP ANNOUNCEMENT ---------- */
.top-announcement {
    background: #f0f4f8;
    padding: 10px 0;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.top-announcement a {
    color: #2c7da0;
    font-weight: 500;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #2c7da0, transparent);
    margin-left: 1rem;
}

/* ---------- CARD STYLES (variety) ---------- */
.card-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #2c7da0;
    letter-spacing: 0.5px;
}

.meta-info {
    font-size: 0.8rem;
    color: #5b6e7c;
    margin-top: 0.5rem;
}

/* Featured Grid */
.card-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.4rem;
}

.card-content h3 a {
    text-decoration: none;
    color: initial;
}

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

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

.card-featured-large .card-content h3 {
    font-size: 1.7rem;
    margin: 0.75rem 0 0.5rem;
}

.card-featured-large .card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-horizontal {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-img-sm {
    flex: 0 0 25%;
    aspect-ratio: 4 / 3;
}

.card-img-sm img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

.card-horizontal h4 {
    font-size: 1rem;
    line-height: 1.4;
}

.card-horizontal h4 a {
    text-decoration: none;
    color: #1e2a36;
}

.card-horizontal h4 a:hover {
    color: #2c7da0;
}

/* Category Blocks */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.category-block .block-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.category-block .block-header h3 {
    font-size: 1.3rem;
}

.view-all {
    font-size: 0.85rem;
    text-decoration: none;
    color: #2c7da0;
}

.block-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-vertical .card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

.card-vertical .card-content h4 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.card-vertical .card-content p,
.excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
}

.card-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Special Report */
.special-report {
    margin: 4rem 0;
    background: #f9fafc;
    border-radius: 24px;
    padding: 2rem;
}

.report-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.report-text h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.report-badge {
    background: #2c7da0;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
}

.btn-outline {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid #2c7da0;
    border-radius: 40px;
    text-decoration: none;
    color: #2c7da0;
    font-weight: 500;
    transition: all 0.2s;
}

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

/* Hot Topics */
.hot-topics {
    margin: 3rem 0;
}

.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.topic-tag {
    background: #eef2f5;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: #2c3e4e;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.topic-tag:hover {
    background: #2c7da0;
    color: white;
}

/* ---------- CATEGORY / LIST PAGE ---------- */
.category-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2rem;
    margin: 2rem auto;
}

.category-content .page-header {
    margin-bottom: 1.5rem;
}

.category-content .page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.static-select {
    padding: 0.5rem;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: white;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-card {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef2f5;
}

.list-card-img {
    flex: 0 0 180px;
}

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

.list-card-content h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card-content h3 a {
    text-decoration: none;
    color: #1e2a36;
}

.list-card-content h3 a:hover {
    color: #2c7da0;
}

.list-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.page-item {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    text-decoration: none;
    color: #2c3e4e;
    transition: all 0.2s;
}

.page-item.active {
    background: #2c7da0;
    color: white;
    border-color: #2c7da0;
}

.page-item:hover:not(.active) {
    background: #eef2f5;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Sidebar */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #f9fafc;
    border-radius: 20px;
    padding: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.trending-list,
.latest-list,
.category-list {
    list-style: none;
}

.trending-list li,
.latest-list li,
.category-list li {
    margin-bottom: 0.8rem;
}

.trending-list a,
.latest-list a,
.category-list a {
    text-decoration: none;
    color: #1e2a36;
    font-weight: 500;
    transition: color 0.2s;
}

.trending-list a:hover,
.latest-list a:hover,
.category-list a:hover {
    color: #2c7da0;
}

.latest-list .date {
    display: block;
    font-size: 0.7rem;
    color: #7b8c9e;
    margin-top: 0.2rem;
}

.category-list li a span {
    font-size: 0.75rem;
    background: #eef2f5;
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

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

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

.author-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.author-card .author-title {
    font-size: 0.85rem;
    color: #2c7da0;
}

.author-card .author-bio {
    font-size: 0.85rem;
    color: #3a5468;
    margin: 0.5rem 0;
}

.author-social a {
    font-size: 0.8rem;
    text-decoration: none;
    color: #2c7da0;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 40px;
    font-size: 0.85rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.6rem;
    color: #94a3b8;
}

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

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

/* ---------- ARTICLE DETAIL PAGE ---------- */
.full-article {
    margin-top: 1rem;
}

.article-header h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    line-height: 1.3;
    margin: 0.75rem 0;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f5;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.author-mini-info {
    display: flex;
    flex-direction: column;
}

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

.publish-date,
.update-date {
    font-size: 0.75rem;
    color: #5b6e7c;
}

.meta-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #5b6e7c;
}

.featured-img img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

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

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

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

.article-body h2 {
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem;
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid #2c7da0;
    padding-left: 1.2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #2c3e4e;
    background: #f9fafc;
    padding: 1rem 1.2rem;
    border-radius: 12px;
}

.article-tags {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.article-tags span {
    font-weight: 600;
}

.article-tags a {
    background: #eef2f5;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #2c7da0;
    transition: background 0.2s;
}

.article-tags a:hover {
    background: #e2e8f0;
}

.author-bio-card {
    display: flex;
    gap: 1.5rem;
    background: #f9fafc;
    padding: 1.5rem;
    border-radius: 20px;
    margin: 2rem 0;
}

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

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

.author-bio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.author-bio-info .author-title {
    font-size: 0.85rem;
    color: #2c7da0;
    margin-bottom: 0.5rem;
}

.author-bio-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #3a5468;
}

.author-social-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.author-social-links a {
    text-decoration: none;
    color: #2c7da0;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.share-btn {
    background: #eef2f5;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

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

.comments-section {
    margin-top: 2rem;
    border-top: 1px solid #eef2f5;
    padding-top: 2rem;
}

.comment {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f5;
}

.comment strong {
    font-weight: 600;
}

.comment-date {
    font-size: 0.7rem;
    color: #7b8c9e;
    margin-left: 0.8rem;
}

.comment p {
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.static-comment-form input,
.static-comment-form textarea {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    font-family: inherit;
}

.btn-submit {
    background: #2c7da0;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
}

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

.related-articles h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

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

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

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

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

.related-card h4 {
    font-size: 1rem;
    margin: 0.5rem;
}

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

/* ---------- AUTHOR PAGE ---------- */
.author-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.author-profile {
    margin-bottom: 3rem;
    background: #f9fafc;
    border-radius: 32px;
    padding: 2rem;
}

.author-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.author-avatar-large img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.author-info h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.author-info .author-title {
    font-size: 1.1rem;
    color: #2c7da0;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.author-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #5b6e7c;
}

.author-bio-full {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.author-bio-full h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.author-bio-full p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #2c3e4e;
}

.author-bio-full blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-left: 4px solid #2c7da0;
    border-radius: 12px;
    font-style: italic;
    color: #1e2a36;
}

.author-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-vertical {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.card-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

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

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

.card-vertical .card-content {
    padding: 1.2rem;
}

.card-vertical h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-vertical h3 a {
    text-decoration: none;
    color: #1e2a36;
}

.card-vertical h3 a:hover {
    color: #2c7da0;
}

.card-vertical .meta-info {
    font-size: 0.8rem;
    color: #7b8c9e;
    margin-top: 0.75rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #0f2b3d;
    color: #eef2f5;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

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

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

.footer-col h4 {
    margin-bottom: 1rem;
}

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

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 2;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span {
    color: #2c7da0;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ---------- BACK TO TOP BUTTON ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2c7da0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {

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

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

    .category-layout {
        grid-template-columns: 100%;
    }
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.4rem;
    }

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

    .site-header {
        position: relative;
    }

    .main-nav .nav-menu {
        display: none;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        z-index: 100;
    }

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

    .hamburger {
        display: flex;
    }

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

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

    .report-wrapper {
        flex-direction: column;
    }

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

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

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

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

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

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

    .article-meta-bar {
        gap: 0.5rem;
    }

    .author-mini-info,
    .meta-stats {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

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

    .card-featured-large .card-content h3 {
        font-size: 1.3rem;
    }
}