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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #1e1e1e;
    background: #ffffff;
}

ul,
ol {
    list-style: none;
}

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

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

a:hover {
    text-decoration: none;
}

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

.site-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
    border-bottom-color: #eaeaea;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #1e1e1e;
    letter-spacing: -0.5px;
}

.logo span {
    color: #0066cc;
    font-weight: 300;
}

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

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form input {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    min-width: 200px;
    background: #f9f9f9;
    transition: 0.2s;
}

.search-form input:focus {
    outline: none;
    border-color: #0066cc;
    background: #fff;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    color: #333;
}

.breadcrumb {
    margin: 30px 0 20px;
    font-size: 0.9rem;
    background: #f5f7fa;
    padding: 10px 18px;
    border-radius: 40px;
    display: inline-block;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #555;
}

.breadcrumb li+li::before {
    content: "/";
    margin: 0 10px;
    color: #aaa;
    font-weight: 300;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

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

.breaking-bar {
    background: #f2f6fc;
    padding: 10px 0;
    border-bottom: 1px solid #dde7f0;
    font-size: 0.95rem;
}

.breaking-label {
    background: #cc0000;
    color: white;
    font-weight: 700;
    padding: 4px 8px;
    margin-right: 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.section-title,
.block-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    letter-spacing: -0.02em;
    border-left: 5px solid #0066cc;
    padding-left: 15px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

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

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0, 102, 204, 0.1);
    border-color: #cce0f0;
}

.img-link {
    display: block;
    overflow: hidden;
}

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

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

.card-content {
    padding: 18px 16px 20px;
}

.category-tag {
    display: inline-block;
    background: #eef4ff;
    color: #0066cc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

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

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

.card h3 a:hover {
    color: #0066cc;
}

.excerpt {
    color: #4a4a4a;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta {
    color: #777;
    font-size: 0.85rem;
}

.report-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.report-card {
    display: flex;
    background: #fafafa;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.2s;
}

.report-card .img-link {
    flex: 0 0 40%;
    width: 100%;
    height: 100%;
}

.report-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.02);
}

.report-content {
    padding: 15px;
}

.report-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.block-row {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.block {
    flex: 1 1 300px;
}

.block-title {
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    border-left: 3px solid #0066cc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all {
    font-size: 0.9rem;
    font-weight: 400;
    color: #0066cc;
    text-decoration: none;
}

.list-card {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

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

.list-card img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.list-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mini-card h4 {
    font-size: 0.95rem;
    margin: 8px 0 4px;
}

.hot-topics {
    margin: 50px 0;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic {
    background: #f0f4fa;
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    color: #1e1e1e;
    font-size: 0.9rem;
    transition: 0.15s;
    border: 1px solid transparent;
}

.topic:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.two-col {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

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

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.sidebar section,
.sidebar .author-card,
.sidebar .related-posts,
.sidebar .latest-posts,
.sidebar .category-list {
    background: #fafbfc;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #edf2f7;
}

.sidebar h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 3px solid #0066cc;
    padding-left: 12px;
}

.author-card {
    display: flex;
    gap: 18px;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-bio {
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.related-posts li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: center;
}

.related-posts li img {
     aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.related-posts li a {
    text-decoration: none;
    color: #1e1e1e;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.related-posts li a:hover {
    color: #0066cc;
}

.href-img{
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    flex: 0 0 30%;
}

.latest-posts li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #dde0e5;
}

.latest-posts li:last-child {
    border-bottom: none;
}

.latest-posts a {
    text-decoration: none;
    color: #2d2d2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-posts .date {
    font-size: 0.8rem;
    color: #888;
}

.category-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-list li a {
    text-decoration: none;
    color: #333;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 40px;
    display: block;
    text-align: center;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    transition: 0.15s;
}

.category-list li a:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 15px 0 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0a0a0a;
}

.article-subhead {
    font-size: 1.2rem;
    color: #4a4a4a;
    font-weight: 400;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

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

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

.author-mini span {
    font-weight: 500;
    color: #1e1e1e;
}

.meta-item {
    color: #777;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    font-style: normal;
}


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

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

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

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

.article-body blockquote {
    border-left: 4px solid #0066cc;
    padding: 12px 24px;
    background: #f5f9ff;
    font-style: italic;
    margin: 2em 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.article-body figcaption {
    font-size: 0.8rem;
    color: #777;
    margin-top: -10px;
    text-align: center;
}

.article-footer {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.article-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.article-categories a {
    background: #edf2f7;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    color: #1e1e1e;
    font-size: 0.8rem;
    transition: 0.1s;
}

.article-categories a:hover {
    background: #0066cc;
    color: white;
}

.author-full {
    display: flex;
    gap: 20px;
    background: #f5f7fc;
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
}

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

.author-full h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.author-full p {
    color: #2d2d2d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.share-btn {
    background: #f0f2f5;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s;
}

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

.comments-section {
    margin: 50px 0;
}

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

.comment {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.comment-body {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-right: 10px;
}

.comment-date {
    font-size: 0.8rem;
    color: #888;
}

.comment-text {
    margin-top: 6px;
    color: #2a2a2a;
}

.comment-form {
    background: #fafbfc;
    padding: 25px;
    border-radius: 24px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dde0e5;
    border-radius: 40px;
    margin: 8px 0 18px;
    font-family: inherit;
}

.comment-form textarea {
    border-radius: 24px;
}

.comment-form button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.15s;
}

.comment-form button:hover {
    background: #004999;
}

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

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

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

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

.related-card h4 {
    padding: 15px 12px 10px;
    font-size: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.related-card .meta {
    padding: 0 12px 15px;
}

.card-horizontal {
    display: flex;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.2s;
    margin-bottom: 20px;
}

.card-horizontal:hover {
    box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.05);
}

.card-horizontal .img-link {
    flex: 0 0 240px;
}

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

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

.category-page-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 25px;
    letter-spacing: -0.02em;
    border-left: 5px solid #0066cc;
    padding-left: 18px;
}

.author-page-main {
    margin: 40px auto;
}

.author-profile {
    background: #f5f7fc;
    border-radius: 32px;
    padding: 50px 40px;
    margin-bottom: 40px;
    display: flex;
    gap: 50px;
    align-items: center;
    border: 1px solid #e6ecf5;
    transition: box-shadow 0.3s ease;
}

.author-profile:hover {
    box-shadow: 0 20px 30px -10px rgba(0, 102, 204, 0.1);
}

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

.author-profile-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.author-profile-avatar img:hover {
    transform: scale(1.02);
}

.author-profile-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: #0a0a0a;
}

.author-profile-title {
    font-size: 1.4rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 20px;
}

.author-profile-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2a2a2a;
    max-width: 700px;
}

.author-details {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #edf2f7;
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    line-height: 1.7;
    color: #171717;
}

.author-details h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    border-left: 5px solid #0066cc;
    padding-left: 20px;
}

.author-details h2:first-of-type {
    margin-top: 0;
}

.author-details p {
    margin-bottom: 1.5em;
}

.author-details ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.author-details li {
    background: #f0f4fa;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
}

.author-social {
    margin: 30px 0 10px;
}

.author-social a {
    display: inline-block;
    background: #eef2f5;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #1e1e1e;
    font-weight: 500;
    margin-right: 15px;
    transition: 0.15s;
}

.author-social a:hover {
    background: #0066cc;
    color: white;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 50px 0 30px;
    justify-content: center;
}

.page-link {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
}

.page-link.active,
.page-link:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.page-dots {
    padding: 8px 0;
}

.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #eaeaea;
    padding: 40px 0;
    margin-top: 50px;
}

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

.site-footer a {
    color: #1e1e1e;
}

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

.footer-col h4 {
    margin-bottom: 15px;
    color: #222;
}

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

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

.footer-col a {
    color: #555;
    text-decoration: none;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

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

@media (max-width: 900px) {

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .block-row {
        flex-direction: column;
    }

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

    .card-horizontal .img-link img {
        width: 100%;
        height: auto;
    }

    .two-col {
        flex-direction: column;
    }

    .content-main,
    .sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .author-profile-info h1 {
        font-size: 2.5rem;
    }

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

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

    .article-meta {
        gap: 0.5rem;
    }

    .author-mini span,
    .meta-item {
        font-size: 0.75rem;
    }

    .nav-list {
        display: none;
    }

    .main-nav.active .nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 20px 0;
        position: absolute;
        top: 70px;
        left: 0;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.02);
    }

    .hamburger {
        display: block;
    }

    .search-form input {
        min-width: 140px;
    }

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

    .category-header {
        flex-direction: column;
        align-items: start;
    }

    .filter-bar {
        margin-top: 10px;
    }

    .article-header h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .breadcrumb {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
    }

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

    .author-profile-title {
        font-size: 1.2rem;
    }

    .author-profile-avatar img {
        width: 150px;
        height: 150px;
    }

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

@media (max-width: 600px) {
    .category-list ul {
        grid-template-columns: 1fr;
    }

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

    .author-details {
        padding: 25px 20px;
    }
}

[class^="meta-item"] i {
    font-style: normal;
}