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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

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


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

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

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

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

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

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

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: #1e7e83;
    color: #0f2a3f;
}

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


.top-banner {
    background: #f4f7fb;
    padding: 12px 0;
    border-bottom: 1px solid #d9e2e9;
    display: flex;
    align-items: center;
}

.breaking-tag {
    background: #c44536;
    color: white;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-right: 16px;
}

.banner-text {
    font-weight: 500;
    color: #1a293b;
}


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

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafd;
    padding: 12px 24px;
    border-radius: 50px;
    gap: 8px 16px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #2f4b6e;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 16px;
    color: #8da4bc;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb a {
    color: #136b6f;
    text-decoration: none;
    font-weight: 500;
}

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

.grid-main-2 {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 32px;
    align-items: start;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 500;
    margin: 48px 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-decor {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #b0c4d9, transparent);
}

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

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 20, 30, 0.04);
    border: 1px solid #edf2f7;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -8px rgba(20, 40, 60, 0.12);
    border-color: #cbd6e3;
}

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

.card-content {
    padding: 18px;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e7e83;
    background: #e0f0f2;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

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

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

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

.card-meta {
    font-size: 0.9rem;
    color: #5f6f80;
    display: flex;
    gap: 12px;
    align-items: center;
}


.horizontal-card {
    display: flex;
}

.horizontal-card .card-img {
    flex: 1 1 40%;
}

.horizontal-card .card-content {
    flex: 1 1 60%;
    padding: 20px;
}

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

.border-card {
    border: 2px solid #e4ebf2;
    box-shadow: none;
}

.alt-meta .comment-count {
    color: #1e5f7a;
}

.subtle-bg {
    background: #fafdff;
}

.feature-story {
    background: #f2f6fa;
    padding: 40px 0;
    margin: 40px 0;
}

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

.feature-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #dee8f0;
    transition: all 0.2s;
}

.feature-card:hover {
    box-shadow: 0 20px 30px -12px rgba(0, 40, 60, 0.16);
}

.feature-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.feature-content {
    padding: 24px;
}

.feature-label {
    color: #bf4d3a;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}


.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0 48px;
}

.category-item {
    background: #f0f5fb;
    padding: 10px 22px;
    border-radius: 40px;
    text-decoration: none;
    color: #1d384c;
    font-weight: 500;
    border: 1px solid transparent;
    transition: 0.2s;
}

.category-item:hover {
    background: #e1ecf5;
    border-color: #a1bbd0;
    transform: scale(1.02);
}


.latest-updates {
    background: #ffffff;
    border-top: 1px solid #eef3f7;
    padding: 30px 0;
}

.updates-list {
    max-width: 700px;
}

.update-item {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px dashed #ccdbe8;
}

.update-item time {
    min-width: 70px;
    font-weight: 500;
    color: #336688;
}


.category-header {
    padding: 32px 0 12px;
    border-bottom: 1px solid #e3ecf3;
}

.list-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    margin-top: 40px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 48px;
}

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

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

.tag {
    background: #eef3f8;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #1e3b4f;
    cursor: default;
}

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

.list-card {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #dfeaf2;
    padding-bottom: 24px;
}

.list-img {
    flex: 0 0 200px;
}

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

.pagination-static {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 48px 0 32px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #c5d5e3;
    border-radius: 30px;
    text-decoration: none;
    color: #1d3f5c;
}

.page-link.active {
    background: #1d3f5c;
    color: white;
    border-color: #1d3f5c;
}

.sidebar {}

.sidebar-card {
    background: #f6fafd;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #deeaf2;
}

.full-width {
    width: 100%;
}


.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 20px;
    box-shadow: 0 8px 24px rgba(0, 20, 30, 0.04);
    border: 1px solid #eaf0f6;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #cde3ed;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0b283b;
    margin-bottom: 8px;
}

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

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

.related-list li {
    margin-bottom: 16px;
    border-bottom: 1px dashed #dae5ef;
    padding-bottom: 12px;
}

.related-list a {
    text-decoration: none;
    font-weight: 500;
    color: #13475c;
    display: block;
    margin-bottom: 4px;
}

.related-list a:hover {
    color: #0b2a3a;
    text-decoration: underline;
}

.related-list .meta {
    font-size: 0.8rem;
    color: #6b88a0;
}

.update-mini-list {
    list-style: none;
}

.update-mini-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5eef7;
}

.update-mini-list time {
    min-width: 60px;
    font-weight: 600;
    color: #1a6b7a;
    font-size: 0.9rem;
}

.update-mini-list a {
    color: #173e54;
    text-decoration: none;
    font-weight: 500;
}

.update-mini-list a:hover {
    color: #0b2c3b;
    text-decoration: underline;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.category-list li a {
    background: #eef3f9;
    color: #1d4b63;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s;
    display: inline-block;
}

.category-list li a:hover {
    background: #d2e2f0;
    color: #0a2c3b;
}

.article-subhead {
    font-size: 1.4rem;
    font-weight: 400;
    color: #3a5670;
    margin: 0.5rem 0 1.5rem;
    line-height: 1.4;
    border-left: 4px solid #1e7e83;
    padding-left: 1.2rem;
}

.article-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.8rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5eef7;
    border-bottom: 1px solid #e5eef7;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4d6a86;
    font-size: 0.95rem;
}

.meta-item i {
    font-style: normal;
    font-weight: 500;
}

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

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

.article-body p {
    margin-bottom: 1.6rem;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
    color: #0f293f;
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
    font-weight: 500;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.2rem 2rem;
    background: #f2f8fd;
    border-left: 5px solid #1e7e83;
    font-style: italic;
    color: #1f405b;
    border-radius: 0 20px 20px 0;
}

.article-categories {
    margin: 2rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.article-categories .cat-label {
    font-weight: 600;
    color: #2f4b6e;
}

.cat-link {
    background: #eaf0f7;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    color: #1d4e6b;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.cat-link:hover {
    background: #cde0ed;
}

.author-full-card {
    display: flex;
    gap: 2rem;
    background: #f6fafd;
    border-radius: 28px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid #deeaf2;
    align-items: center;
}

.author-full-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 20, 30, 0.1);
}

.author-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #102b3c;
}

.author-info .author-bio {
    color: #2b4b64;
    line-height: 1.6;
}

.share-bar {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #dee9f0;
    border-bottom: 1px solid #dee9f0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.share-btn {
    background: #e9f0f6;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.15s;
}

.share-btn:hover {
    background: #cfdeec;
}

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

.comment-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    border: 1px solid #eaf0f6;
}

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

.comment-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comment-author strong {
    font-size: 1rem;
    color: #1d384c;
}

.comment-date {
    font-size: 0.8rem;
    color: #6688a2;
    margin-left: auto;
}

.comment-text {
    color: #1f3649;
    line-height: 1.6;
}

.comment-form-static {
    margin-top: 2rem;
    background: #f8fbfe;
    border-radius: 28px;
    padding: 2rem;
}

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

.static-btn {
    background: #1d3f5c;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 1rem;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2ecf5;
    transition: 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 30, 40, 0.08);
}

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

.related-card .related-content {
    padding: 14px;
}

.related-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-meta {
    font-size: 0.8rem;
    color: #5a7a94;
}


.author-profile {
    max-width: 900px;
    margin: 2rem auto 3rem;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 30, 40, 0.12);
    border: 1px solid #e8f0f8;
    overflow: hidden;
    padding: 3rem 3rem 2.5rem;
}

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

.author-profile-avatar {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 25px rgba(20, 60, 90, 0.15);
}

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

.author-profile-name {
    font-size: 3rem;
    font-weight: 600;
    color: #0a2638;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.author-profile-role {
    font-size: 1.4rem;
    color: #1e7e83;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.author-profile-meta {
    display: flex;
    gap: 2rem;
    color: #3e5f7a;
    font-size: 1rem;
}

.author-profile-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.author-profile-bio {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #1e364a;
    margin: 2rem 0 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #dae8f2;
    border-bottom: 1px solid #dae8f2;
}

.author-detail-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #1d2f40;
}

.author-detail-body p {
    margin-bottom: 1.5rem;
}

.author-detail-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2.2rem 0 1rem;
    color: #0f2b3b;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.social-link {
    background: #eef3f9;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    color: #1c4b6e;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.social-link:hover {
    background: #d0e2f0;
    color: #0b2c40;
    border-color: #b1cde0;
}

.recent-articles {
    margin-top: 3rem;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 1.5rem;
}

.recent-card {
    background: #f9fcff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2eef9;
    transition: 0.2s;
}

.recent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(20, 50, 70, 0.12);
}

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

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

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

.recent-card .recent-meta {
    font-size: 0.85rem;
    color: #4d708b;
}


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

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

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

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

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

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

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

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

.footer-bottom {
    text-align: center;
    color: #7e99ab;
    margin: 0;
}

.footer-bottom a {
    color: #7e99ab;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e3347;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.back-to-top:hover {
    background: #0f263b;
}


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

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

    .list-layout,
    .article-container {
        grid-template-columns: 1fr;
    }

    .horizontal-card {
        grid-column: span 1;
        flex-direction: column;
    }

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

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

@media (max-width: 680px) {
    .site-header {
        position: relative;
    }

    .grid-main-2,.category-grid-main {
        grid-template-columns: 100%;
    }

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

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

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

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

    .hamburger {
        display: block;
    }

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

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

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

    .list-img {
        flex: auto;
    }

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

    .author-mini span,
    .meta-item {
        font-size: 0.75rem;
    }

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

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

    .author-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .author-profile-name {
        font-size: 2.5rem;
    }

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

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

    .author-profile {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.4rem;

    }
}

@media (max-width: 480px) {
    .author-profile-name {
        font-size: 2rem;
    }
}