﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #1e1e1e;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul,
li {
    list-style: none;
}

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

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


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

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

.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: #1a1a1a;
}

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

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}


.top-notice {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
    font-size: 0.95rem;
}

.notice-label {
    font-weight: 600;
    color: #dc3545;
    margin-right: 16px;
}

.notice-link {
    text-decoration: none;
    color: #0056b3;
    font-weight: 500;
}

.notice-link:hover {
    text-decoration: underline;
}


.section-block {
    padding: 48px 0;
}

.alt-bg {
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 12px;
}

.more-link a {
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    color: #666;
    background: #f1f1f1;
    padding: 6px 14px;
    border-radius: 30px;
    transition: background 0.2s;
}

.more-link a:hover {
    background: #0066cc;
    color: white;
}


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

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

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

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

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

.card-content {
    padding: 18px 16px 20px;
}

.card-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0066cc;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
}

.card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s;
}

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

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

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


.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background: white;
}

.card-horizontal .card-img {
    aspect-ratio: 4/3;
    flex: 0 0 45%;
    width: 100%;
    height: 100%;
}

.list-card-item .card-img {
    flex: 0 0 25%;
}

.card-horizontal .card-content {
    padding: 16px 16px 16px 0;
    width: 60%;
}

.card-horizontal .card-title {
    font-size: 1.1rem;
}


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

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

.card-vertical .card-img {
    width: 100%;
}


.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #efefef;
    transition: all 0.3s;
}

.featured-card:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 30px -15px rgba(0, 0, 0, 0.15);
}

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

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

.featured-content {
    padding: 24px;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin: 8px 0 12px;
    font-weight: 600;
}

.featured-content h3 a {
    text-decoration: none;
    color: #111;
}

.featured-content p {
    color: #3a3a3a;
    margin-bottom: 16px;
}


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

.tags-cloud a {
    background: #f1f3f5;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    color: #1e1e1e;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

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


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

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 40px;
}

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

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #aaa;
}

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

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

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


.two-col-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 50px;
    padding: 30px 0 50px;
}

.content-main {
    min-width: 0;
}

.category-intro {
    margin-bottom: 30px;
}

.category-intro h1 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.category-intro p {
    color: #555;
    font-size: 1.1rem;
}

.article-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 30px;
    background: white;
    border: 1px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f0f0f0;
    border-color: #0066cc;
    color: #0066cc;
}

.page-link.active {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
}

.page-dots {
    color: #777;
    padding: 0 4px;
}

.prev,
.next {
    font-weight: 500;
    padding: 0 16px;
}


.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #f9f9f9;
    border-radius: 24px;
    padding: 24px 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.sidebar-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
}

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

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

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

.author-name {
    font-weight: 600;
}

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

.recommend-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recommend-list li {
    margin-bottom: 18px;
}

.recommend-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: #1e1e1e;
    align-items: center;
}

.recommend-item img {
    width: 70px;
    height: 53px;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
}

.recommend-title {
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.recommend-item:hover .recommend-title {
    color: #0066cc;
}

.update-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.update-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

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

.update-list a {
    text-decoration: none;
    color: #1e1e1e;
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

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

.update-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: 10px;
    white-space: nowrap;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 14px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 8px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

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

.cat-count {
    color: #888;
    font-size: 0.9rem;
    background: #eee;
    padding: 2px 10px;
    border-radius: 30px;
}


.article-header-detail {
    margin: 0 0 20px;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #4a4a4a;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
}

.article-meta-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
    color: #555;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.author-name-link {
    font-weight: 600;
    color: #1e1e1e;
    text-decoration: none;
}

.author-name-link:hover {
    color: #0066cc;
}

.views {
    color: #777;
}

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

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

.article-body p {
    margin-bottom: 1.8em;
}

.article-categories {
    margin: 30px 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tag {
    background: #f0f2f5;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #1e1e1e;
    text-decoration: none;
    transition: background 0.2s;
}

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

.author-bio-card {
    display: flex;
    gap: 24px;
    background: #f9f9f9;
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
    align-items: center;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.author-bio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.author-bio-info p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.share-btn {
    background: #f0f2f5;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
}

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

.comments-section {
    background: #fafafa;
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
}

.comment-list {
    margin: 30px 0;
}

.comment {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    background: #0066cc20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0066cc;
    font-size: 1.2rem;
}

.comment-body {
    flex: 1;
}

.comment-author {
    font-weight: 600;
}

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

.comment-text {
    margin-top: 8px;
    color: #333;
}

.comment-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 1rem;
    margin: 15px 0;
    font-family: inherit;
}

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

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

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

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

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

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

.related-content {
    padding: 14px 12px 16px;
}

.related-content .card-title {
    font-size: 1rem;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
}

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


.author-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    background: #f9f9f9;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #f0f0f0;
}

.author-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.author-name-title h1 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

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

.author-bio-short {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    max-width: 600px;
}

.author-detail-body {
    margin: 50px 0;
}

.author-detail-body h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 40px 0 20px;
    letter-spacing: -0.01em;
}

.author-detail-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.author-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: #0066cc;
    line-height: 1.2;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-articles {
    margin-top: 60px;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 12px;
}

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

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #efefef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

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

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

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

.article-card .card-content {
    padding: 18px 16px 20px;
}

.article-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-title a {
    text-decoration: none;
    color: #1a1a1a;
}

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

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

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #eef2f5;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    font-size: 1.2rem;
}

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


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.2s;
    z-index: 99;
}

.back-to-top:hover {
    opacity: 1;
}


.site-footer {
    background-color: #1e1e1e;
    color: #ddd;
    padding: 20px 0 20px;
    margin-top: auto;
}

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

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

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 18px;
    font-weight: 500;
}

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

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

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

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

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


@media (max-width: 992px) {

    .card-row,
    .card-grid.vertical,
    .featured-grid,
    .footer-grid,
    .two-col-layout,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col-layout {
        grid-template-columns: 1fr;

    }

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

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

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

    .two-col-layout {
        padding: 30px 24px 50px;
    }

    .card-horizontal .card-content {
        padding: 16px;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

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

    .card-row,
    .card-grid.vertical,
    .featured-grid,
    .footer-grid,
    .two-col-layout,
    .article-grid {
        grid-template-columns: 1fr;
    }

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

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

    .card-horizontal .card-content {
        width: 100%;
    }

    .two-col-layout {
        gap: 30px;
    }

    .breadcrumb-list {
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .pagination {
        gap: 5px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

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

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

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

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

    .author-avatar-large {
        width: 140px;
        height: 140px;
    }

    .author-stats {
        flex-direction: column;
        gap: 20px;
    }
}