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

body {
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e2a3a;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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


.aspect-ratio-4x3 {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;
    background: #eef2f6;
}

.aspect-ratio-4x3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
}


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

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

ul,
li {
    list-style: none;
}


.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eaeef2;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.06);
    border-bottom-color: transparent;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #0b2b40;
    letter-spacing: -0.02em;
}

.logo span {
    color: #4a6fa5;
    font-weight: 400;
}

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

.nav-list a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: #4a6fa5;
    color: #0b2b40;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #2c3e50;
}


.breaking-bar {
    background: #f9f5eb;
    border-bottom: 1px solid #e2dcd0;
    padding: 0.7rem 0;
    font-size: 0.95rem;
}

.breaking-bar .badge {
    background: #c44536;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 1rem;
    text-transform: uppercase;
}

.breaking-bar a {
    color: #1e2a3a;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}


.breadcrumb-ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f6f9fc;
    padding: 0.9rem 1.8rem;
    border-radius: 60px;
    margin: 1.5rem 0 0rem;
    font-size: 0.95rem;
}

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

.breadcrumb-ol li:not(:last-child)::after {
    content: "›";
    margin: 0 0.8rem;
    color: #8a9bb0;
    font-weight: 400;
}

.breadcrumb-ol a {
    color: #2b4f7c;
    text-decoration: none;
    font-weight: 500;
}

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

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


.section {
    margin: 3.5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    border-left: 6px solid #4a6fa5;
    padding-left: 1.5rem;
}

.title-decor {
    font-weight: 300;
    color: #5f6c7a;
    font-size: 1.5rem;
}


.card-grid {
    display: grid;
    gap: 2rem;
}

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

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

.card-grid--compact {
    gap: 1.5rem;
}


.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
    border: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(0, 30, 60, 0.08);
    border-color: #d0dbe8;
}

.card-img {
    overflow: hidden;
}

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

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

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

.card-tag {
    display: inline-block;
    background: #ebf0f8;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #2b4f7c;
    margin-bottom: 0.8rem;
}

.card-tag.special {
    background: #2b4f7c;
    color: white;
}

.card-title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.card-title a {
    text-decoration: none;
    color: #0b1e2c;
}

.card-title a:hover {
    color: #2b4f7c;
}

.card-excerpt {
    color: #3a4a5a;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-meta {
    font-size: 0.85rem;
    color: #5f6c7a;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}


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

.card--horizontal .card-img {
    flex: 0 0 120px;
    height: auto;
}

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

.card--simple .card-title {
    font-size: 1.2rem;
}

.card--minimal {
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #e8ecf0;
    border-radius: 0;
    padding: 0.8rem 0;
}

.card--minimal:hover {
    transform: none;
    box-shadow: none;
    background: #f9fbfd;
}

.card--feature {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding: 10px;
}



.topics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.topic-card {
    background: #f3f7fc;
    border-radius: 40px;
    padding: 1rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 500;
    transition: 0.2s;
    border: 1px solid transparent;
}

.topic-card:hover {
    background: #e1ecf9;
    border-color: #b3c9e0;
    transform: scale(1.02);
}

.topic-count {
    display: block;
    font-size: 0.8rem;
    color: #4f6f8f;
    margin-top: 0.2rem;
}


.two-columns {
    display: grid;
    grid-template-columns: 66% 30%;
    gap: 3rem;
    margin: 2rem 0;
}


.filter-bar {
    background: #f6f9fc;
    padding: 1rem 1.5rem;
    border-radius: 60px;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    background: white;
    font-size: 0.95rem;
}


.pagination {
    display: flex;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #dee7ef;
    border-radius: 8px;
    color: #2b4f7c;
    text-decoration: none;
}

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

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
}


.sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    transition: box-shadow 0.2s;
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-card:hover {
    box-shadow: 0 15px 30px rgba(0, 30, 60, 0.06);
}

.sidebar-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4a6fa5;
    padding-left: 1rem;
}

.author-profile {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1rem;
}

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

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

.list-links {
    list-style: none;
}

.list-links li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed #dae2ec;
}

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

.list-links a {
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-links a:hover {
    color: #2b4f7c;
}

.list-links .meta {
    font-size: 0.8rem;
    color: #6f7e8f;
    font-weight: 400;
}

.category-list .count {
    background: #eaf0f8;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2b4f7c;
}


.article-header {
    margin-bottom: 2rem;
}

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

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #4a5e71;
    font-weight: 300;
    margin-bottom: 1.2rem;
    border-left: 3px solid #cbd5e1;
    padding-left: 1.2rem;
}

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

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

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

.author-mini span {
    font-weight: 600;
    color: #0b2b40;
}

.time-info {
    color: #4f6f8f;
    font-size: 0.95rem;
}

.time-info time {
    font-weight: 500;
}

.article-figure {
    margin: 2rem 0;
}

.article-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #5f7486;
    text-align: center;
}

.article-body p {
    margin: 1.5rem 0;
}

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

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

.article-tags .tag {
    background: #eaf0f8;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2b4f7c;
    text-decoration: none;
    transition: 0.2s;
}

.article-tags .tag:hover {
    background: #d0e0f0;
}

.share-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin: 2rem 0 1rem;
}

.share-btn {
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.share-btn:hover {
    background: #eaf0f8;
    border-color: #8aa0b8;
}

.author-bio-box {
    background: #f6fafd;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    border: 1px solid #e0ecf5;
}

.author-bio-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.author-bio-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.author-bio-box p {
    color: #2b4055;
}

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

.comment-list {
    margin: 2rem 0;
}

.comment {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.comment-avatar {
    font-size: 2rem;
    background: #e5ecf3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-body {
    background: #f6faff;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-right: 0.8rem;
}

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

.comment-form input,
.comment-form textarea,
.comment-form button {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 16px;
    border: 1px solid #ccdae9;
    font-family: inherit;
}

.comment-form button {
    background: #2b4f7c;
    color: white;
    font-weight: 600;
    border: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-note {
    font-size: 0.8rem;
    color: #8f9eb0;
}

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

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

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 20, 40, 0.08);
}

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

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

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

.related-card .card-content {
    padding: 0.8rem 1rem 1rem;
}

.related-card .card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

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


.author-profile-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 24px;
}

.author-header {
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 30px rgba(0, 20, 40, 0.04);
    border: 1px solid #edf2f7;
    margin-bottom: 3rem;
    text-align: center;
}

.author-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 30, 60, 0.12);
    margin-bottom: 1.5rem;
    margin: auto;
}

.author-name-large {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b2b40;
    margin-bottom: 0.5rem;
}

.author-role {
    font-size: 1.3rem;
    color: #4a6fa5;
    font-weight: 400;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eaeff5;
    padding-bottom: 1.5rem;
    text-align: left;
}

.author-quick-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
    color: #2c4a6e;
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.quick-info-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6f8ba0;
}

.quick-info-item .value {
    font-size: 1.3rem;
    font-weight: 600;
}

.author-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f5fc;
    border-radius: 50%;
    color: #1e3a5f;
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.2s;
}

.author-social a:hover {
    background: #2b4f7c;
    color: white;
    transform: translateY(-2px);
}

.author-bio-detail {
    background: #f9fcfd;
    border-radius: 28px;
    padding: 2.5rem;
    border: 1px solid #e6f0f5;
}

.author-bio-detail h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border-left: 6px solid #4a6fa5;
    padding-left: 1.2rem;
}

.author-bio-detail p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1f2e3c;
    margin-bottom: 1.5rem;
}

.author-bio-detail h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f3b5c;
}

.author-achievements {
    list-style: none;
    padding: 0;
}

.author-achievements li {
    padding: 0.6rem 0;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    font-size: 1.1rem;
    border-bottom: 1px dashed #d9e4ef;
}

.author-achievements li::before {
    content: "✓";
    color: #2b4f7c;
    font-weight: 700;
    background: #e7f0fa;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}


.site-footer {
    background: #f1f5f9;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid #dae2ec;
}

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

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

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

.footer-col a:hover {
    text-decoration: underline;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 0.8rem;
}

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

.site-footer a {
    color: #2f4052;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2b4f7c;
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.2);
    transition: 0.2s;
    display: none;

    z-index: 99;
}

.back-to-top.show {
    display: block;
}

.back-to-top:hover {
    background: #1e3a5f;
    transform: scale(1.05);
}


@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {

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

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

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

    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav.open .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 47px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid #eaeef2;
    }

    .nav-list li {
        margin: 0.8rem 0;
    }

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

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

@media (max-width: 768px) {
    .article-meta-detail {
        gap: 0.5rem;
    }

    .author-mini img {
        display: none;
    }

    .article-meta-detail,
    .time-info {
        font-size: 0.8rem;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: auto;
    }

    .section {
        margin: 30px 0;
        padding: 0;
    }

    .card--feature {
        display: flex;
        padding: 0;
    }

    .pagination {
        flex-wrap: wrap;
    }

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



@media (max-width: 600px) {
    .author-header {
        padding: 2rem 1.5rem;
    }

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

    .author-quick-info {
        gap: 1.2rem;
    }

    .author-bio-detail {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .breadcrumb-ol {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}