﻿:root {
    --bg-main: #ffffff;
    --text-dark: #1a1e24;
    --text-soft: #2c3e50;
    --accent: #0066cc;
    --accent-light: #eef5ff;
    --border-light: #eaeef2;
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 30px rgba(0, 80, 150, 0.1);
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    transition: color 0.3s;
    color: inherit;
}

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

ul,
li {
    list-style: none;
}

p {
    color: #2f3a44;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

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

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

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

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


.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: 12px 0;
    transition: background 0.2s, box-shadow 0.2s;
}


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

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

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

.logo span {
    color: var(--accent);
    font-weight: 300;
}

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

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.search-form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 40px;
    overflow: hidden;
}

.search-form input {
    border: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    width: 180px;
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
}

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


.top-notice {
    background: #f0f6fe;
    padding: 12px 0;
    border-bottom: 1px solid #d9e4ef;
    font-size: 0.98rem;
}

.top-notice a {
    color: var(--accent);
    font-weight: 500;
}


.section {
    padding: 48px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2.2rem;
    border-left: 5px solid var(--accent);
    padding-left: 1rem;
}

.section-title span {
    font-weight: 300;
    color: #5a6f84;
}


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

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

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

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

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

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

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 12px;
    align-self: flex-start;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
}

.card h3 a {
    color: #0b1c2f;
}

.card h3 a:hover {
    color: var(--accent);
}

.card-excerpt {
    color: #3d4e62;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.85rem;
    color: #657c92;
    margin-top: auto;
}


.card-large .card-content {
    padding: 24px;
}

.card-large h3 {
    font-size: 1.5rem;
}

.card-vertical .card-img {
    aspect-ratio: 4/3;
}

.card-accent {
    border-top: 4px solid var(--accent);
}

.card-small h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}


.reports-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.report-horizontal {
    display: flex;
    gap: 30px;
    background: #fafcff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
}

.report-horizontal:hover {
    box-shadow: var(--shadow-hover);
}


.report-horizontal:nth-child(odd) {
    flex-direction: row-reverse;
}

.report-img {
    flex: 1 1 15%;
    aspect-ratio: 4/3;
}

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

.report-content {
    flex: 1 1 55%;
    padding: 32px 32px 32px 0;
}

.reverse .report-content {
    padding: 32px 0 32px 32px;
}

.report-horizontal:nth-child(odd) .report-content {
    padding: 32px 0 32px 32px;
}

.report-label {
    font-size: 0.75rem;
    background: #000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 16px;
}

.report-content h3 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.report-summary {
    font-size: 1.05rem;
    color: #2f4052;
    margin-bottom: 20px;
}


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

.topic-item {
    background: #f2f6fa;
    padding: 10px 22px;
    border-radius: 60px;
    font-weight: 500;
    transition: 0.15s;
    border: 1px solid transparent;
}

.topic-item:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
}

.topic-item span {
    font-size: 0.8rem;
    color: #6e889c;
    margin-left: 8px;
}


.site-footer {
    background: #132433;
    color: #cdddee;
    padding: 20px 0;
    margin-top: 40px;
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #6ab0ff;
}

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

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

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

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

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

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

.footer-bottom p {
    text-align: center;
    margin: 0;
    color: var(--accent-light);
}

.footer-bottom a {
    color: var(--accent-light);
}

address {
    font-style: normal;
}


.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 80, 150, 0.3);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
}

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


.breadcrumb-wrapper {
    margin: 24px auto;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 12px 0;
    background: transparent;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb li {
    font-size: 0.95rem;
    color: #5f7d9c;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: #a0b8cc;
}

.breadcrumb a {
    color: var(--accent);
}

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

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


.two-col-layout {
    display: flex;
    gap: 40px;
    margin: 20px auto 60px;
}

.primary-col {
    flex: 0 0 70%;
    max-width: 70%;
}

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


.sidebar-card {
    background: #f8fafd;
    border-radius: 20px;
    padding: 28px 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0b1c2f;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}


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

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

.author-header h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    border-left: none;
    padding-left: 0;
}

.author-title {
    color: var(--accent);
    font-size: 0.9rem;
}

.author-bio {
    font-size: 0.95rem;
    color: #31485e;
    line-height: 1.6;
}


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

.related-list li,
.update-list li,
.category-list li {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #dbe4ed;
}

.related-list li:last-child,
.update-list li:last-child,
.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-list a,
.update-list a,
.category-list a {
    color: #1f3a57;
    font-weight: 500;
    transition: color 0.1s;
}

.related-list a:hover,
.update-list a:hover,
.category-list a:hover {
    color: var(--accent);
}

.update-time {
    display: inline-block;
    font-size: 0.75rem;
    background: #e0e9f2;
    padding: 2px 8px;
    border-radius: 30px;
    margin-right: 8px;
    color: #1f3a57;
    font-weight: 500;
}

.category-list span.cat-count {
    color: #7c94aa;
    font-size: 0.85rem;
    margin-left: 5px;
}


.filter-bar {
    display: flex;
    gap: 16px;
    padding: 16px 0 24px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5b6b;
}

.filter-select {
    padding: 10px 32px 10px 12px;
    border: 1px solid #ccdae5;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    appearance: none;
}

.fake-btn {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    display: inline-block;
    cursor: default;
    border: none;
    font-size: 0.95rem;
}

.page-heading {
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 16px;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 48px 0 20px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0f4f9;
    color: #1e2b39;
    font-weight: 500;
    transition: 0.1s;
}

.page-link:hover {
    background: #dae4f0;
}

.page-link.active {
    background: var(--accent);
    color: white;
}

.page-link.prev,
.page-link.next {
    width: auto;
    padding: 0 16px;
}


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

.article-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 600;
    color: #0b1c2f;
}

.article-deck {
    font-size: 1.3rem;
    color: #3e5a73;
    margin-bottom: 24px;
    font-weight: 300;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2eaf1;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #4f6a84;
}

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

.author-name a {
    color: var(--accent);
    font-weight: 500;
}

.meta-sep {
    color: #b0c4db;
}

.read-count {
    background: #f0f5fc;
    padding: 2px 10px;
    border-radius: 40px;
}

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    background: #f0f5fb;
    border: none;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.1s;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

.featured-image {
    margin: 32px 0;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

figcaption {
    font-size: 0.85rem;
    color: #677e96;
    margin-top: 8px;
}


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

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

.article-body p {
    margin-bottom: 28px;
    color: #171717;
}

.article-body h2 {
    font-size: 1.9rem;
    margin: 48px 0 24px;
    font-weight: 500;
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 40px 0 20px;
    font-weight: 500;
}

.article-body blockquote {
    border-left: 5px solid var(--accent);
    background: #f5faff;
    padding: 24px 32px;
    font-size: 1.1rem;
    margin: 40px 0;
    border-radius: 0 20px 20px 0;
    color: #1d2f3f;
}

.article-body blockquote p {
    margin-bottom: 8px;
}

.article-body blockquote cite {
    font-size: 0.9rem;
    color: #4d6a83;
}


.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0eaf3;
}

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

.cat-label {
    font-weight: 600;
    color: #1f3f5c;
    margin-right: 12px;
}

.category-badge {
    background: #e8f0fa;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 8px;
    color: #1f3f5c;
    transition: 0.1s;
}

.category-badge:hover {
    background: var(--accent);
    color: white;
}


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

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

.bio-content h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.bio-content .author-title {
    color: var(--accent);
    margin-bottom: 10px;
}

.author-description {
    color: #2d445b;
    line-height: 1.6;
}

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

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    color: #1e3b5c;
    font-weight: 600;
    transition: 0.2s;
}

.author-social a:hover {
    background: var(--accent);
    color: white;
}


.share-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.share-bottom span {
    font-weight: 600;
    color: #1e3b5c;
}


.comments-section {
    margin-top: 60px;
}

.comments-section h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 32px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
}

.comment {
    display: flex;
    gap: 20px;
    margin: 24px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2ecf5;
}

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

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-header strong {
    font-size: 1rem;
    color: #0b1c2f;
}

.comment-time {
    font-size: 0.8rem;
    color: #7c94aa;
}

.comment-body p {
    color: #1f3345;
    line-height: 1.6;
}

.comment-form {
    margin-top: 40px;
    background: #f5f9ff;
    padding: 32px;
    border-radius: 24px;
}

.comment-form h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.comment-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbdae8;
    border-radius: 16px;
    min-height: 120px;
    margin-bottom: 16px;
    font-family: var(--font-stack);
    font-size: 1rem;
    resize: vertical;
}

.comment-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.85rem;
    color: #6a859e;
}


.related-posts {
    margin-top: 60px;
}

.related-posts h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
}


.author-profile {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
    background: #f9fcff;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.author-profile-avatar {
    flex: 0 0 180px;
}

.author-profile-avatar img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.author-profile-info h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0b1c2f;
}

.author-profile-info .author-title {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1f2e3c;
    max-width: 800px;
}

.author-long-bio {
    margin: 48px 0;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.author-long-bio h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 24px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
}

.author-long-bio p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1f2e3c;
}


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

    .site-header {
        position: relative;
    }

    .logo a {
        font-size: 1.5rem;
    }

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

    .report-horizontal,
    .report-horizontal.reverse,
    .report-horizontal:nth-child(odd) {
        flex-direction: column;
    }

    .report-content {
        padding: 0 24px 24px;
    }

    .reverse .report-content {
        padding: 0 24px 24px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        padding: 24px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-light);
    }

    .main-nav.show {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }

    .search-form input {
        width: 100%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

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

    .primary-col,
    .secondary-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .article-header h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

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

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

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

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

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

    .share-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pagination .page-link {
        width: 36px;
        height: 36px;
    }
}