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

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

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

a:hover {
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

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

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

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ebf0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

.main-nav a:hover,
.main-nav a.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1a1e24;
    margin: 3px 0;
    transition: 0.3s;
}

.breaking-bar {
    background: #f2f4f8;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e9;
}

.breaking-label {
    background: #cc3300;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 20px;
    margin-right: 16px;
    text-transform: uppercase;
}

.breaking-text {
    font-weight: 500;
}

.breadcrumb-wrap {
    margin: 24px auto 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 12px 0;
    background: transparent;
    border-radius: 0;
}

.breadcrumb li {
    font-size: 0.9rem;
    color: #4f5b68;
}

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

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

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

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

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin: 2rem 0;
    letter-spacing: -0.02em;
    border-left: 6px solid #0066cc;
    padding-left: 1.2rem;
}

.section-title span {
    color: #0066cc;
    font-weight: 600;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.cat-card {
    background: white;
    padding: 24px 20px;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf0f5;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.cat-card p {
    color: #4f5b68;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.cat-count {
    font-size: 0.8rem;
    color: #0066cc;
    font-weight: 500;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}

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

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

.card-featured-large {
    grid-column: span 2;
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: box-shadow 0.2s;
}

.card-featured-large:hover {
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
}

.card-featured-large .card-img {
    flex: 0 0 45%;
}

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

.card-content {
    padding: 24px;
}

.card-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e6f0ff;
    color: #0066cc;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}


.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content a {
    text-decoration: none;
    color: inherit;
}

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

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

.card-vertical {
    background: white;
    border-radius: 20px;
    /* padding: 0 0 20px 0; */
    border: 1px solid #eef2f6;
    transition: 0.2s;
}

.card-vertical .card-img {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.card-vertical h4 {
    font-size: 1.2rem;
    padding: 0 18px;
    margin: 10px 0 8px;
}

.card-vertical .card-tag {
    /* margin-left: 18px;
    margin-top: 16px; */
}

.card-vertical .card-meta {
    /* padding: 0 18px; */
}

.card-simple-horizontal {
    grid-column: span 1;
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #eef2f6;
}

.small-img {
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 10px;
}

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

.simple-content h4 {
    font-size: 1rem;
    margin: 4px 0;
}

.simple-content .card-tag {
    margin-bottom: 4px;
}

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

.special-card {
    display: flex;
    background: #fff;

    border-radius: 32px;
    overflow: hidden;
}

.special-img {
    flex: 0 0 30%;
}

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

.special-content {
    flex: 1 1 60%;
    padding: 40px;
}

.special-label {
    background: #eab308;
    color: #0b1c2f;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

.special-content h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.special-content h3 a {
    text-decoration: none;
    color: inherit;
}


.special-content p {
    font-size: 1rem;
    margin-bottom: 24px;
}


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

.tag-cloud a {
    text-decoration: none;
    color: #1e2b3a;
    background: #eef2f8;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.2s;
}

.tag-cloud a:hover {
    background: #0066cc;
    color: white;
}

.tag-cloud.vertical {
    flex-direction: column;
    gap: 10px;
}

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

.cat-title {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.cat-description {
    color: #4f5b68;
    margin-bottom: 32px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    background: #f2f4f8;
    padding: 12px 20px;
    border-radius: 60px;
    width: fit-content;
}

.static-select {
    padding: 8px 24px 8px 16px;
    border-radius: 40px;
    border: 1px solid #ccd5e0;
    background: white;
    font-size: 0.95rem;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.list-card {
    display: flex;
    gap: 24px;
    background: white;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #eef2f6;
}

.list-img {
    flex: 0 0 200px;
    border-radius: 18px;
    overflow: hidden;
}

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

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

.list-content {
    flex: 1;
}

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

.list-card-mini {
    align-items: center;
}

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

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

.pagination {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid #dbe0e8;
    border-radius: 40px;
    text-decoration: none;
    color: #1a1e24;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #eef2f6;
}

.pagination a.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.pagination .prev,
.pagination .next {
    font-weight: 500;
}

.sidebar-widget {
    background: white;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid #e9ecf2;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.author-role {
    color: #0066cc;
    font-weight: 500;
    margin: 8px 0;
}

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

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

.related-list li,
.latest-list li,
.cat-list li {
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f3f8;
    padding-bottom: 12px;
}

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

.related-list a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.related-list img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.related-list span {
    display: block;
}

.related-list .meta {
    font-size: 0.8rem;
    color: #657381;
    margin-top: 4px;
}

.latest-list a,
.cat-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #1a1e24;
}

.latest-list a:hover,
.cat-list a:hover {
    color: #0066cc;
}

.latest-list span,
.cat-list span {
    color: #657381;
    font-size: 0.85rem;
}

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

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

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

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

.meta-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #4f5b68;
    font-size: 0.9rem;
}

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

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

.article-featured-img figcaption {
    text-align: center;
    color: #657381;
    font-size: 0.85rem;
    margin-top: 8px;
}

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

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

.article-body h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.article-tags {
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

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

.tag {
    background: #eef2f8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #1a1e24;
    margin-right: 8px;
    transition: background 0.2s;
}

.tag:hover {
    background: #0066cc;
    color: white;
}

.author-card-large {
    display: flex;
    gap: 24px;
    background: #f9fafc;
    border-radius: 24px;
    padding: 28px;
    margin: 32px 0;
    border: 1px solid #eef2f6;
}

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

.author-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.author-bio-large {
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 20px;
    color: #0066cc;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    padding: 24px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
}

.share-btn {
    background: none;
    border: 1px solid #cbd5e1;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

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

.comments {
    margin: 48px 0;
}

.comment {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

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

.comment-date {
    font-size: 0.8rem;
    color: #657381;
    margin-left: 12px;
}

.comment-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid #d0d9e5;
    margin: 16px 0;
    font-family: inherit;
}

.comment-form button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

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

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

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

.related-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    overflow: hidden;
}

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

.related-card h4 {
    padding: 16px 16px 8px;
    font-size: 1.1rem;
}

.related-card a {
    text-decoration: none;
    color: inherit;
}

.related-meta {
    padding: 0 16px 16px;
    color: #657381;
    font-size: 0.85rem;
}

.author-profile {
    max-width: 1000px;
    margin: 40px auto;
}

.author-header-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #eef2f6;
    margin-bottom: 40px;
}

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

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e6f0ff;
}

.author-header-details .author-name {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-role {
    font-size: 1.2rem;
    color: #0066cc;
    margin-bottom: 12px;
}

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

.author-social-mini a {
    text-decoration: none;
    color: #1a1e24;
    font-size: 1.4rem;
    transition: color 0.2s;
}

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

.author-bio-short p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.6;
    border-left: 4px solid #0066cc;
    padding-left: 24px;
}

.author-detailed-bio {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #eef2f6;
    margin-bottom: 40px;
}

.author-detailed-bio h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.author-detailed-bio h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
}

.author-detailed-bio p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.expertise-list,
.awards-list {
    list-style: none;
    padding-left: 0;
}

.expertise-list li,
.awards-list li {
    padding: 8px 0 8px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%230066cc"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') left center no-repeat;
    background-size: 18px;
}

.author-latest-section {
    margin-top: 48px;
}

.author-latest-section h2 {
    font-size: 2rem;
    margin-bottom: 28px;
}

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

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

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #0066cc;
    border-radius: 40px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

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

.site-footer {
    background: #121826;
    color: #b0c0d0;
    margin-top: 60px;
    padding: 20px 0;
}

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

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

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

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

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

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

.footer-logo span {
    color: #3388ff;
}

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

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0066cc;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    z-index: 99;
    transition: 0.2s;
}

#back-to-top:hover {
    background: #004999;
}

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

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

    .card-featured-large {
        grid-column: span 2;
    }

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

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

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

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

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

    .author-mini,
    .meta-items {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .grid-c-1 {
        grid-template-columns: 100%;
    }

    .hamburger {
        display: flex;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid #dee2e9;
        box-shadow: 0 20px 20px rgba(0, 0, 0, 0.05);
    }

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

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

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

    .card-featured-large {
        flex-direction: column;
    }

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

    .special-content {
        padding: 24px;
    }

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

    .list-img {
        flex: auto;
    }

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

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

    .author-bio-short p {
        border-left: none;
        padding-left: 0;
    }

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

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

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