﻿
:root {
    --font-base:  -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --bg-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-soft: #2c2c2c;
    --border-light: #eaeef2;
    --accent: #0a4b7a;
    --accent-soft: #eef3f7;
    --gray-mid: #5a6872;
    --gray-light: #f5f7fa;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 24px -8px rgba(0, 40, 80, 0.12);
    --transition: all 0.25s ease;
}

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

body {
    font-family: var(--font-base);
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--bg-light);
}

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

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

ul {
    list-style: none;
}

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


.site-header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
    z-index: 50;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

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

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

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent);
}

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

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

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

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


.top-notice {
    background: #f0f4f9;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    font-size: 0.95rem;
}

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


.section {
    padding: 48px 0;
}

.alt-bg {
    background: var(--gray-light);
}

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

.section-title span {
    font-weight: 600;
}


.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    border: 1px solid var(--border-light);
}

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

.card-horizontal {
    flex-direction: row;
    align-items: center;
}

.card-horizontal .card-img {
    flex: 0 0 30%;
}

.card-horizontal .card-img img {
    border-radius: 10px;
}

.card-horizontal-rev {
    flex-direction: row-reverse;
}

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

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

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

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

.card-content {
    padding: 16px;
    flex: 1;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-tag.tech-tag {
    background: #e1f5fe;
    color: #01579b;
}

.card-tag.business-tag {
    background: #e8f5e9;
    color: #1b5e20;
}

.card-tag.health-tag {
    background: #fce4ec;
    color: #880e4f;
}

.card-tag.science-tag {
    background: #ede7f6;
    color: #4527a0;
}

.card-tag.sports-tag {
    background: #fff3e0;
    color: #bf360c;
}

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

.card-excerpt {
    font-size: 1rem;
    color: var(--gray-mid);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.card-meta {
    font-size: 0.8rem;
    color: #7e8c9e;
    display: flex;
    gap: 12px;
}


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

.featured-grid .card-horizontal:first-child {
    grid-column: 1 / 3;
}

.featured-grid .card-horizontal:nth-child(2) {
    grid-column: 3 / 4;
}


.reports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.report-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
}

.report-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex: 0 0 40%;
}

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

.report-content {
    padding: 24px;
}

.report-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.report-content h3 {
    font-size: 1.4rem;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-content .desc {
    color: var(--gray-mid);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 600;
    color: var(--accent);
}


.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-bottom: 32px;
}

.topic-link {
    padding: 8px 24px;
    background: white;
    border-radius: 60px;
    border: 1px solid var(--border-light);
    font-size: calc(0.9rem * var(--size, 1));
    transition: var(--transition);
}

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

.topic-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
}


.pagination-wrapper {
    margin: 40px 0 60px;
}

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

.page-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

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


.breadcrumb {
    margin: 20px 0 10px;
    font-size: 0.95rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 8px 20px;
    background: var(--gray-light);
    border-radius: 40px;
}

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

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

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

.breadcrumb [aria-current="page"] {
    font-weight: 600;
    color: var(--text-dark);
}


.category-header {
    padding: 32px 0 24px;
}

.category-header h1 {
    font-size: 2.8rem;
    font-weight: 500;
}

.category-desc {
    color: var(--gray-mid);
    max-width: 600px;
    margin: 8px 0 24px;
    font-size: 1.2rem;
}

.filter-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-item.card-horizontal {
    display: flex;
    border-radius: 20px;
}

.post-item h3 {
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.sidebar-widget {
    background: var(--gray-light);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
}

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

.trending-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-cloud a {
    background: white;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
}

.static-form input {
    width: 100%;
    padding: 12px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.static-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
}


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

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

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

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.author-bio {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.5;
}

.related-list li,
.update-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.related-list a {
    font-weight: 500;
    transition: var(--transition);
}

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

.update-time {
    font-size: 0.8rem;
    color: var(--gray-mid);
    white-space: nowrap;
    margin-left: 12px;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-light);
}

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

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    font-weight: 500;
}

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

.cat-count {
    color: var(--gray-mid);
    font-size: 0.85rem;
    font-weight: normal;
}


.single-article {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.article-subhead {
    font-size: 1.2rem;
    color: var(--gray-mid);
    margin: 8px 0 20px;
    font-weight: 400;
}

.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

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

.publish-date,
.update-date {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

.meta-right .views {
    font-size: 0.9rem;
    color: var(--gray-mid);
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 30px;
}

.article-featured-img {
    margin: 32px 0;
}

.article-featured-img img {
    width: 100%;
    border-radius: 24px;
}

.article-featured-img figcaption {
    font-size: 0.85rem;
    color: var(--gray-mid);
    margin-top: 8px;
    text-align: center;
}

.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-body p {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

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

.article-categories {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cat-label {
    font-weight: 600;
    margin-right: 12px;
}

.article-cat {
    display: inline-block;
    background: var(--gray-light);
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-right: 8px;
    transition: var(--transition);
}

.article-cat:hover {
    background: var(--accent);
    color: white;
}

.author-full-card {
    display: flex;
    gap: 24px;
    background: var(--gray-light);
    border-radius: 24px;
    padding: 24px;
    margin: 32px 0;
}

.author-full-card .author-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    margin: 0;
}

.author-full-card .author-details h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio {
    color: var(--gray-mid);
    line-height: 1.5;
}

.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.share-btn {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

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

.comment {
    padding: 20px;
    background: var(--gray-light);
    border-radius: 16px;
    margin-bottom: 16px;
}

.comment-date {
    color: var(--gray-mid);
    font-size: 0.85rem;
    margin-left: 12px;
}

.comment-form {
    margin-top: 32px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.comment-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    cursor: pointer;
}

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

.related-posts h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

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

.related-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.related-content {
    padding: 16px;
}

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

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


.author-profile-card {
    background: white;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin: 32px 0 48px;
    border: 1px solid var(--border-light);
}

.author-profile-inner {
    display: flex;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

.author-profile-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.author-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.author-profile-title {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.author-profile-bio {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.author-profile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--text-dark);
    font-size: 1.4rem;
    transition: var(--transition);
}

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

.author-detailed-body {
    background: var(--gray-light);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 48px;
}

.author-detailed-body h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.author-detailed-body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #171717;
    margin-bottom: 1.2em;
    max-width: 800px;
}

.author-detailed-body p:last-child {
    margin-bottom: 0;
}

.author-articles {
    margin: 48px 0;
}

.author-articles h2 {
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.author-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.author-archive-link {
    margin-top: 32px;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--accent);
    border-radius: 60px;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}


.site-footer {
    background: #11161c;
    color: #b0b8c5;
    padding: 48px 0 32px;
}

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

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

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-col a {
    color: #b0b8c5;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 16px;
    font-size: 1.4rem;
}

.footer-search {
    display: flex;
    margin-top: 16px;
}

.footer-search input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 40px 0 0 40px;
    background: #1e262e;
    color: white;
}

.footer-search button {
    padding: 10px 16px;
    border: none;
    border-radius: 0 40px 40px 0;
    background: var(--accent);
    color: white;
    cursor: pointer;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}


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

    .featured-grid .card-horizontal:first-child,
    .featured-grid .card-horizontal:nth-child(2) {
        grid-column: auto;
    }

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

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

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

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        visibility: hidden;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .report-card {
        flex-direction: column;
    }

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

    .meta-left {
        gap: 0.5rem;
    }

    .author-name,
    .publish-date,
    .update-date,
    .views {
        font-size: 0.75rem;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .single-article {
        padding: 20px;
    }

    h1 {
        font-size: 1.6rem;
    }

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

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

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

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

    .author-profile-card {
        padding: 24px;
    }

    .author-profile-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

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

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

    .author-detailed-body {
        padding: 24px;
    }

    .author-detailed-body h2 {
        font-size: 1.5rem;
    }

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

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

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

    .card-horizontal .card-img {
        max-width: 100%;
        width: 100%;
    }
}