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

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

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

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

ul,
li {
    list-style: none;
}

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

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeef2;
    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, 0, 0, 0.08);
    backdrop-filter: blur(4px);
    border-bottom-color: #d0ddeb;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: #0a1a2b;
}

.logo span {
    color: #2867b0;
    font-weight: 400;
}

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

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

.nav-list a:hover,
.nav-list a.active {
    color: #2867b0;
    border-bottom-color: #2867b0;
}

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


.top-announcement {
    background: #102a41;
    color: #fff;
    padding: 12px 0;
    font-size: 0.95rem;
    text-align: center;
}

.top-announcement a {
    color: #ffd966;
    text-decoration: underline;
}


.section {
    padding: 3rem 0;
    border-bottom: 1px solid #e5e9f0;
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: #2867b0;
    border-radius: 4px;
}


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

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px -8px rgba(40, 103, 176, 0.12);
    border-color: #d9e2ef;
}

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

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

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

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

.category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #eef3fc;
    color: #2867b0;
    padding: 0.25rem 0.9rem;
    border-radius: 30px;
    margin-bottom: 0.7rem;
    border: 1px solid #cdddec;
}

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

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

.card-title a:hover {
    color: #2867b0;
}

.card-excerpt {
    color: #4e5b70;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #7b879c;
    align-items: center;
}

.author {
    font-weight: 500;
    color: #2d3e5f;
}


.top-stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

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

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

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

.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-horizontal .card-img {
    width: 40%;
    aspect-ratio: 4/3;
}

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

.special-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.health-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

.card-list .card-content {
    padding: 0.5rem 0;
}


.category-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cat-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem 1rem;
    text-align: center;
    border: 1px solid #eaeef5;
    transition: all 0.2s;
}

.cat-card:hover {
    background: #f2f7ff;
    border-color: #b6cde0;
    transform: scale(0.98);
}

.cat-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.cat-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.cat-card p {
    font-size: 0.8rem;
    color: #6e7f94;
    margin: 0.2rem 0;
}

.cat-count {
    font-size: 0.75rem;
    color: #2867b0;
    font-weight: 600;
}


.site-footer {
    background: #0f1a2c;
    color: #cbd5e1;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

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

.site-footer a {
    color: #cbd5e1;
}

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

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

.footer-col .logo span {
    color: #8cb3e0;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

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

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

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

.brand-col p {
    margin: 1rem 0;
    font-size: 0.9rem;
}


.breadcrumb {
    background: #f8faff;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    margin: 1.5rem 0;
    border: 1px solid #e0e8f2;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 12px;
    color: #8a9bb8;
    font-size: 1.1rem;
}

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

.breadcrumb .current {
    color: #4a5f82;
    font-weight: 500;
}


.two-col-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2rem;
    margin: 2rem 0;
}

.main-content {
    width: 100%;
}

.sidebar {
    width: 100%;
}


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

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    border-left: 4px solid #2867b0;
    padding-left: 1rem;
}


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

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

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

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

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


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

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

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

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

.post-list a:hover {
    color: #2867b0;
}

.post-date {
    font-size: 0.75rem;
    color: #7b879c;
    white-space: nowrap;
    margin-left: 1rem;
}


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

.category-list li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed #e2e8f0;
}

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

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

.category-list a:hover {
    color: #2867b0;
}

.category-list .count {
    background: #eef3fc;
    padding: 0.15rem 0.6rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2867b0;
}


.filter-bar.static-filter {
    margin: 1rem 0 2rem;
    background: transparent;
    padding: 0;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: #f0f4fa;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
}

.filter-label {
    font-weight: 500;
    color: #2d3e5f;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: white;
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    font-size: 0.85rem;
    border: 1px solid #ccdaea;
    cursor: default;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: white;
    border: 1px solid #dfe6f0;
    color: #2d3e5f;
    text-decoration: none;
}

.pagination a.active {
    background: #2867b0;
    color: white;
    border-color: #2867b0;
}

.pagination a.disabled {
    opacity: 0.4;
    pointer-events: none;
}


.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
    line-height: 1.2;
}

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

.article-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 1rem 0 0.5rem;
}

.article-subhead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #4a5f82;
    margin-bottom: 1rem;
    border-left: 4px solid #2867b0;
    padding-left: 1.2rem;
}

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

.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 .name {
    font-weight: 600;
    color: #1e2a41;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #5e6f88;
    font-size: 0.9rem;
}

.meta-item .icon {
    font-size: 1.1rem;
}

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

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

.article-featured-img figcaption {
    font-size: 0.8rem;
    color: #6c7e9e;
    margin-top: 8px;
}

.article-body {
    font-size: 1rem;
    color: #171717;
    line-height: 1.7;
    margin: 2rem 0;
}

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

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

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

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f5f9ff;
    border-left: 6px solid #2867b0;
    font-style: italic;
    color: #2d3e5f;
    border-radius: 0 20px 20px 0;
}

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

.article-categories .label {
    font-weight: 600;
    color: #1e2a41;
}

.article-categories .category-tag {
    margin: 0;
}


.author-bio-card {
    display: flex;
    gap: 1.5rem;
    background: #f8faff;
    border-radius: 24px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid #e0eaf5;
}

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

.author-bio-card .bio-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.author-bio-card .bio-content .role {
    color: #2867b0;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.author-bio-card .bio-content p {
    color: #3a4b65;
    line-height: 1.6;
}


.share-area {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 2rem 0 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e2eaf2;
    border-bottom: 1px solid #e2eaf2;
}

.share-area span {
    font-weight: 600;
    color: #2d3e5f;
}

.share-btn {
    background: #eef3f9;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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


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

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment {
    background: #f5f8ff;
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    border: 1px solid #e2ecfc;
}

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

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2867b0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

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

.comment-date {
    font-size: 0.8rem;
    color: #7b879c;
}

.comment-text {
    color: #1f2b3c;
    margin-bottom: 0.5rem;
}

.comment-form {
    margin-top: 2rem;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #cbd5e0;
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: inherit;
    resize: vertical;
}

.comment-form button {
    background: #e2eaf5;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: default;
    color: #2d3e5f;
}


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

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.related-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f7;
    transition: 0.2s;
}

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

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

.related-content {
    padding: 1rem 1.2rem 1.2rem;
}

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

.related-content h4 a {
    text-decoration: none;
    color: #1e2a41;
}

.related-content h4 a:hover {
    color: #2867b0;
}

.related-meta {
    font-size: 0.75rem;
    color: #7b879c;
}


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

.author-full .author-card-detailed {
    display: flex;
    gap: 3rem;
    background: #f8faff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid #e0eaf5;
    margin-bottom: 3rem;
}

.author-full .author-avatar-large {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

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

.author-full .author-info-detailed {
    flex: 1;
}

.author-full .author-name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.author-full .author-role {
    font-size: 1.2rem;
    color: #2867b0;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-full .author-bio-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3e5f;
    margin-bottom: 1.2rem;
}

.author-full .author-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid #dbe2ec;
    border-bottom: 1px solid #dbe2ec;
}

.author-full .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3a4b65;
}

.author-full .meta-item .icon {
    font-size: 1.3rem;
}

.author-full .author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-full .social-link {
    background: #eef3f9;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: #2d3e5f;
    font-weight: 500;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.author-full .social-link:hover {
    background: #d1def0;
}

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

.author-articles h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.author-articles h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 4px;
    background: #2867b0;
    border-radius: 4px;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2867b0;
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;
}

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


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

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

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

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

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

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

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

    .header-container {
        height: 54px;
    }

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

    .author-mini .name,
    .meta-item {
        font-size: 0.7rem;
    }

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

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

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

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

    .share-area {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .nav-list {
        display: none;
    }

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

    .menu-toggle {
        display: block;
    }

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

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

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

    .card-list {
        flex-direction: column;
        align-items: start;
    }

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

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

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

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


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

    .breadcrumb {
        padding: 0.6rem 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .author-full .author-card-detailed {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .author-full .author-detail-meta {
        justify-content: center;
    }

    .author-full .author-social {
        justify-content: center;
    }

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

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