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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
}

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

a:hover {
    color: #c44536;
}

ul,
li {
    list-style: none;
}

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

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

.site-header {
    background: transparent;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: background 0.3s, box-shadow 0.3s;
}

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

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

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: #2c3e50;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: #c44536;
    color: #c44536;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #0f2b4b;
}

/* ===== TOP ANNOUNCEMENT ===== */
.top-announcement {
    background: #f7f3e8;
    border-bottom: 1px solid #e2dcd0;
    padding: 10px 0;
    font-size: 1rem;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    border-left: 6px solid #c44536;
    padding-left: 18px;
}

.category-tag {
    display: inline-block;
    background: #eaeef2;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.category-tag.world {
    background: #d9e8f5;
    color: #1d4e7c;
}

.category-tag.tech {
    background: #e2e6f5;
    color: #2a3f7a;
}

.category-tag.business {
    background: #f1e6d5;
    color: #8a6d3b;
}

.meta {
    font-size: 0.9rem;
    color: #6f6f6f;
    margin-top: 12px;
}

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

.card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.featured-card:hover .card-image img,
.category-card:hover .card-image img,
.related-card:hover .card-image img,
.simple-card:hover .card-image img {
    transform: scale(1.05);
}

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

.card-content {
    padding: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.main-feature .card-content h3 {
    font-size: 1.5rem;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 40px 0 20px;
}

.view-all {
    font-weight: 500;
    color: #b3462b;
}

.block-grid {
    display: grid;
    gap: 20px;
}

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

.horizontal-card {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.horizontal-card .card-image {
    flex: 0 0 40%;
    aspect-ratio: 4/3;
    border-radius: 8px;
}

.horizontal-card h4 {
    font-size: 1rem;
    margin: 5px 0;
}

.tech-grid {
    grid-template-columns: repeat(3, 1fr);
}

.simple-card {
    background: #f9f9fc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
}

.special-reports .report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.report-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.report-card .card-content {
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    width: 100%;
    padding: 20px;
}

.report-card a {
    color: #fff;
}

.report-card .meta {
    color: #ddd;
}

.popular-topics {
    background: #fff;
    padding: 40px 0;
    margin-top: 30px;
}

.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.topics-cloud a {
    background: #f0f0f0;
    padding: 8px 18px;
    border-radius: 40px;
    color: #1f3a5f;
    transition: 0.2s;
}

.topics-cloud a:hover {
    background: #c44536;
    color: #fff;
}

.static-dropdown {
    display: flex;
    align-items: center;
    gap: 20px;
}

.css-dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: default;
    min-width: 140px;
    text-align: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
}

.css-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #333;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.breadcrumb {
    margin: 20px 0;
    color: #666;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #b3462b;
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 10px;
    color: #aaa;
}

.category-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 40px;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #0f2b4b;
}

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

.category-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.3s;
}

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

.category-card .card-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.category-card .card-content h2 a {
    color: #0f2b4b;
}

.pagination {
    display: flex;
    gap: 8px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    color: #2c3e50;
}

.pagination a.active {
    background: #c44536;
    color: #fff;
    border-color: #c44536;
}

.pagination .prev.disabled,
.pagination .next.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-left: 4px solid #c44536;
    padding-left: 15px;
}

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

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

.author-detail-name {
    font-size: 0.95rem;
    color: #0f2b4b;
}

.author-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.related-list li,
.latest-list li,
.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-list li:last-child,
.latest-list li:last-child,
.category-list li:last-child {
    border-bottom: none;
}

.related-list a,
.latest-list a {
    color: #2c3e50;
    font-weight: 500;
}

.related-list a:hover,
.latest-list a:hover {
    color: #c44536;
}

.list-meta {
    font-size: 0.8rem;
    color: #999;
}

.category-list .count {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.full-article {
    max-width: 100%;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #0f2b4b;
}

.article-subhead {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eaeaea;
}

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

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

.meta-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    color: #6f6f6f;
    font-size: 0.95rem;
}

.update-badge {
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 30px;
}

.views {
    color: #b3462b;
}

.share-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.share-btn {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: #c44536;
    color: #fff;
}

.featured-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
}

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

figcaption {
    color: #6f6f6f;
    font-size: 0.9rem;
    margin-top: 8px;
    text-align: center;
}

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

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

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

.article-footer {
    margin-top: 3rem;
    border-top: 1px solid #eaeaea;
    padding-top: 2rem;
}

.article-categories {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cat-label {
    font-weight: 600;
    color: #2c3e50;
}

.author-bio-block {
    display: flex;
    gap: 30px;
    background: #f8f9fc;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
}

.author-avatar-large {
    flex-shrink: 0;
}

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.author-details h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0f2b4b;
}

.author-details strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 10px;
}

.author-social {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.author-social a {
    background: #eaeef2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1d4e7c;
    font-weight: 600;
    transition: 0.2s;
}

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

.comments-section {
    margin: 40px 0;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 30px;
}

.comment-list {
    margin: 20px 0;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-meta {
    font-size: 0.95rem;
    color: #5f5f5f;
    margin-bottom: 8px;
}

.comment-meta strong {
    color: #0f2b4b;
}

.comment-form-placeholder {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.comment-form-placeholder textarea {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: #fff;
}

.comment-form-placeholder button {
    background: #c44536;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0 30px;
    font-weight: 600;
    cursor: default;
    opacity: 0.7;
}

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

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

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

.related-card .card-image {
    aspect-ratio: 4/3;
    border-radius: 12px 12px 0 0;
}

.related-card .card-content {
    padding: 15px;
}

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

.related-card .meta {
    font-size: 0.85rem;
}

.author-page .container {
    max-width: 1000px;
}

.author-profile {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    margin: 30px 0 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
}

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

.author-avatar-large {
    flex-shrink: 0;
}

.author-avatar-large img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.author-headline {
    flex: 1;
}

.author-name {
    font-size: 2.8rem;
    font-weight: 600;
    color: #0f2b4b;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.author-role {
    font-size: 1.3rem;
    color: #c44536;
    font-weight: 400;
    margin-bottom: 1.2rem;
    border-left: 4px solid #c44536;
    padding-left: 20px;
}

.author-social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: #eaeef2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #1d4e7c;
    transition: 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    background: #c44536;
    color: #fff;
    transform: translateY(-3px);
}

.author-bio-full {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 30px 0;
    margin-bottom: 40px;
}

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

.author-bio-full p:last-child {
    margin-bottom: 0;
}

.author-latest .section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.site-footer {
    background: #0f2b4b;
    color: #ddd;
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

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

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

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

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

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

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

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

#backToTop:hover {
    background: #a33426;
    transform: translateY(-3px);
}

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

    .featured-grid .main-feature {
        grid-column: span 2;
    }

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

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

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

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

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

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

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

    .author-role {
        border-left: none;
        padding-left: 0;
    }

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

    .author-profile {
        padding: 30px 20px;
    }

    .author-name {
        font-size: 2.2rem;
    }
}

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

    .nav-list {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .main-nav.show .nav-list {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

    .featured-grid .main-feature {
        grid-column: auto;
    }

    .world-block,
    .tech-grid,
    .report-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .article-subhead {
        font-size: 1.1rem;
    }

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

    .author-detail-name,
    .meta-details {
        font-size: 0.75rem;
    }

    .meta-details {
        gap: 0.5rem;
    }

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

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

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

    .comment-form-placeholder {
        flex-direction: column;
    }

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

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

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

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

    .author-role {
        font-size: 1.2rem;
    }

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