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

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

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

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

ul,
li {
    list-style: none;
}

.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 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


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

.site-header.scrolled {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom-color: #e9eef2;
}

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

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

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

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

.nav-list a:hover,
.nav-list .active {
    color: #0066cc;
}

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


.top-announcement {
    background: #f8fafd;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.top-announcement a {
    color: #0066cc;
    font-weight: 500;
}


.section {
    padding: 3rem 0;
}

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


.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f3f7;
}

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

.card-img {
    overflow: hidden;
}

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

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

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

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #e9eff7;
    color: #0066cc;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    text-decoration: none;
}

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

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

.card-excerpt {
    color: #475569;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

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


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

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

.sub-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.horizontal-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

.vertical-card {
    display: block;
}

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


.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    padding: 1rem 0;
}

.topic-item {
    background: #f1f5f9;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

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


.breadcrumb-wrapper {
    padding: 1.5rem 0 0.5rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafc;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
}

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

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.6rem;
    color: #94a3b8;
}

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

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

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


.two-col-layout {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 4rem;
}

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

.sidebar {
    flex: 0 0 30%;
}

.category-page-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border-left: 6px solid #0066cc;
    padding-left: 1.2rem;
}


.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}



.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination a.current {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.pagination a {
    background: #f1f5f9;
    color: #1e293b;
    transition: background 0.2s;
}

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

.pagination .current {
    background: #0066cc;
    color: white;
}

.pagination .prev.disabled,
.pagination .next.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #e9eef2;
    color: #94a3b8;
}

.pagination .page-numbers {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.pagination .dots {
    padding: 0.5rem;
    color: #64748b;
}


.sidebar-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 1.5rem 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

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

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

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

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

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

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

.post-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

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

.post-list a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    flex: 1;
}

.post-list a:hover {
    color: #0066cc;
}

.post-date {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    margin-left: 0.8rem;
}

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

.category-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.category-list a {
    text-decoration: none;
    color: #1e293b;
}

.category-list a:hover {
    color: #0066cc;
}

.category-list .count {
    background: #f1f5f9;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    font-size: 0.8rem;
}


.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (max-width: 640px) {
    .article-header h1 {
        font-size: 1.4rem;
    }
}

.article-subhead {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9eef2;
}

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

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

.author-mini .author-name {
    font-weight: 600;
    color: #1e293b;
}

.post-meta {
    color: #64748b;
    font-size: 0.95rem;
}

.post-meta .update-note {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.8rem;
    font-size: 0.8rem;
}

.share-block {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.5rem;
}

.share-label {
    font-size: 0.9rem;
    color: #475569;
    margin-right: 0.5rem;
}

.share-btn {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.article-featured-img {
    margin: 2rem 0;
}

.article-featured-img img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.article-featured-img figcaption {
    font-size: 0.85rem;
    color: #68788c;
    margin-top: 0.5rem;
    text-align: center;
}

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

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


@media (max-width: 640px) {}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 2.5rem;
    padding: 1rem 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.post-categories .cat-label {
    font-weight: 500;
    color: #334155;
    margin-right: 0.3rem;
}

.author-bio-box {
    display: flex;
    gap: 1.5rem;
    background: #f9fbfd;
    border-radius: 24px;
    padding: 1.8rem;
    margin: 2.5rem 0;
    border: 1px solid #edf2f7;
}

.author-avatar-large {
    flex: 0 0 80px;
}

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

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

.author-role {
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.author-bio-text p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-social a {
    display: inline-block;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    color: #1e293b;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: background 0.2s;
}

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

@media (max-width: 640px) {
    .author-bio-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
}


.comments-area {
    margin: 3rem 0;
}

.comments-area h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.comment-list {
    margin-bottom: 2.5rem;
}

.comment {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.comment-avatar {
    flex: 0 0 48px;
}

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

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 0.4rem;
}

.comment-author {
    font-weight: 600;
    color: #1e293b;
    margin-right: 0.8rem;
}

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

.comment p {
    color: #334155;
    line-height: 1.6;
}

.comment-form {
    background: #f9fbfd;
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid #edf2f7;
}

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

.form-row {
    margin-bottom: 1.2rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d9e6;
    border-radius: 40px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-row textarea {
    border-radius: 20px;
    resize: vertical;
}

.btn-submit {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #004999;
}


.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

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

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f3f7;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

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

.related-card h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 0.8rem 0.8rem 0.3rem;
}

.related-card .meta {
    padding: 0 0.8rem 0.8rem;
    font-size: 0.8rem;
}


.author-profile {
    margin: 2rem 0 3rem;
}

.author-profile-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.04);
}

.author-profile-header {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.author-profile-header .author-avatar-large {
    flex: 0 0 200px;
}

.author-profile-header .author-avatar-large img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.author-profile-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.author-profile-title .author-role {
    font-size: 1.2rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-bio-full {
    border-top: 1px solid #e9eef2;
    padding-top: 2rem;
}

.author-bio-full p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    color: #1e293b;
    max-width: 800px;
}

@media (max-width: 700px) {
    .author-profile-header {
        flex-direction: column;
        text-align: center;
    }

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

    .author-profile-header .author-avatar-large {
        flex: 0 0 150px;
        width: 150px;
    }
}

.author-articles {
    margin: 4rem 0;
}

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


.site-footer {
    background: #f9fbfd;
    border-top: 1px solid #e4eaef;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

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

.footer-col li {
    margin-bottom: 0.6rem;
}

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

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-form {
    display: flex;
    margin-top: 1rem;
}

.footer-form input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 40px 0 0 40px;
    outline: none;
}

.footer-form button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 0 40px 40px 0;
    cursor: pointer;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: #68788c;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #68788c;
}


#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e293b;
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
}


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

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

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

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

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

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

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

@media (max-width: 640px) {

    .author-name,
    .post-meta {
        font-size: 0.8rem;
        margin: 0;
    }

    .post-meta .update-note {
        margin: 0;
    }

    .byline {
        align-items: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .nav-list {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        gap: 1rem;
    }

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

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

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

    .horizontal-card .card-content {
        padding: 1rem;
    }

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

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

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

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}
