﻿* {
    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: #1e2a3a;
    background: #f9fafc;
    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;
    object-fit: cover;
}

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


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

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

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

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

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

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

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

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: #c74634;
    color: #0b1c2f;
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid #ccc;
    font-size: 1.8rem;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
}


.top-banner {
    background: #eef2f6;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #dce2ea;
}

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


.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2rem 0 1.5rem;
    border-left: 6px solid #c74634;
    padding-left: 18px;
}

.section-title span {
    color: #6b7a8c;
    font-size: 1.2rem;
}


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

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

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

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef2f6;
}

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

.card-img {
    position: relative;
    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);
}

.category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c74634;
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.card-content h3 a:hover {
    color: #c74634;
}

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

.meta {
    font-size: 0.8rem;
    color: #7b8b9d;
    display: flex;
    align-items: center;
}

.card-large .card-content h3 {
    font-size: 1.4rem;
    -webkit-line-clamp: 3;
}

.card-horizontal {
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #edf2f7;
    transition: 0.2s;
}

.card-horizontal:hover {
    background: #f9fbfe;
}

.card-horizontal .card-img {
    flex: 0 0 240px;
    aspect-ratio: 4/3;
}

.card-horizontal .card-content {
    padding: 0;
}

.card-horizontal h3 {
    -webkit-line-clamp: 2;
}

.card-mini {
    background: white;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.card-mini .card-img {
    margin-bottom: 8px;
}

.card-mini h4 {
    font-size: 0.95rem;
    font-weight: 600;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-mini .meta {
    margin-top: 6px;
}


.hot-topics {
    margin: 40px 0;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic {
    background: white;
    border: 1px solid #dbe0e8;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e2a3a;
    text-decoration: none;
    transition: 0.2s;
}

.topic:hover {
    background: #c74634;
    color: white;
    border-color: #c74634;
}


.breadcrumb {
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 60px;
    border: 1px solid #eef2f6;
    margin: 24px 0 0;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    font-size: 0.95rem;
    color: #4a5a6a;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 12px;
    color: #b8c5d2;
    font-weight: 300;
}

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

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


.two-col {
    display: flex;
    gap: 40px;
    margin: 40px auto;
}

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

.sidebar {
    flex: 0 0 30%;
}


.sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    margin-bottom: 32px;
    border: 1px solid #edf2f8;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 4px solid #c74634;
    padding-left: 16px;
}

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

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

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f4fa;
    transition: background 0.2s;
}

.list-item:hover {
    background: #f9fcff;
}

.item-thumb {
    flex: 0 0 70px;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
}

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

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.item-info h4 a {
    color: #1e2a3a;
    text-decoration: none;
}

.item-info h4 a:hover {
    color: #c74634;
}

.item-meta {
    font-size: 0.8rem;
    color: #7f90a2;
}

.text-list {
    list-style: none;
    padding: 0;
}

.text-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e2e9f2;
}

.text-list li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    display: block;
}

.text-list li a:hover {
    color: #c74634;
}

.text-list .date {
    font-size: 0.75rem;
    color: #8f9fb0;
    margin-top: 2px;
}

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

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

.category-list li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

.category-list li a:hover {
    color: #c74634;
}

.category-list .count {
    background: #edf3f9;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #4a5a6a;
}


.article-full {
    background: white;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #ecf0f5;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0b1c2f;
}

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

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

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

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #607080;
    font-size: 0.9rem;
}

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

.featured-image {
    margin: 30px 0;
}

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

figcaption {
    font-size: 0.85rem;
    color: #7b8b9d;
    margin-top: 8px;
}

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

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

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

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

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

.tag-list {
    margin: 30px 0 20px;
}

.tag {
    background: #edf2f9;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
    color: #2b3f56;
    text-decoration: none;
    transition: 0.2s;
}

.tag:hover {
    background: #c74634;
    color: white;
}

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

.author-block img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.author-block h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-block p {
    color: #405362;
    font-size: 0.95rem;
    line-height: 1.5;
}

.share-section {
    padding: 20px 0;
    border-top: 1px solid #e5ecf3;
    border-bottom: 1px solid #e5ecf3;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

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

.share-btn:hover {
    background: #f0f4fa;
    border-color: #a0b3cc;
}

.comments-section {
    margin: 40px 0;
}

.comment {
    background: #f8fafd;
    padding: 22px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.comment strong {
    color: #1e2a3a;
    font-size: 1.05rem;
}

.comment-date {
    float: right;
    color: #8a9bb0;
    font-size: 0.85rem;
}

.comment p {
    margin-top: 8px;
    color: #314151;
}

.comment-form {
    background: white;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid #e1e9f0;
    margin-top: 32px;
}

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

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin: 8px 0 16px;
    border: 1px solid #d1deed;
    border-radius: 50px;
    background: #fafcff;
    font-family: inherit;
    font-size: 0.95rem;
}

.comment-form textarea {
    border-radius: 24px;
    resize: vertical;
}

.comment-form button {
    background: #c74634;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    opacity: 0.8;
}

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

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #edf2f8;
    transition: transform 0.2s;
}

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

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

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

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

.related-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.related-card h4 a {
    text-decoration: none;
    color: #1e2a3a;
}

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


.author-profile {
    background: white;
    border-radius: 40px;
    padding: 48px;
    margin: 40px 0;
    border: 1px solid #ecf0f5;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.author-avatar-large {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #eef2f8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.author-headline {
    flex: 1;
}

.author-headline h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0b1c2f;
    margin-bottom: 8px;
    line-height: 1.2;
}

.author-role {
    font-size: 1.3rem;
    color: #c74634;
    font-weight: 500;
    margin-bottom: 16px;
}

.author-stats {
    display: flex;
    gap: 28px;
    margin-top: 12px;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e2a3a;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #68788c;
    letter-spacing: 0.3px;
}

.author-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f0f5fb;
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: 1px solid #dde5ef;
}

.social-icon:hover {
    background: #c74634;
    color: white;
    border-color: #c74634;
    transform: translateY(-3px);
}

.author-bio-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2a3a4a;
    margin: 30px 0 20px;
    padding: 30px 0;
    border-top: 2px solid #eef3f8;
    border-bottom: 2px solid #eef3f8;
}

.author-bio-text p {
    margin-bottom: 1.2rem;
}

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

.author-detail-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #0b1c2f;
}

.author-detail-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px;
}

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

.author-detail-body ul {
    margin-left: 20px;
    color: #314151;
}

.btn-follow {
    background: #c74634;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: default;
    opacity: 0.9;
    display: inline-block;
    margin-top: 10px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 30px 0 50px;
}

.latest-grid .card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: transform 0.2s;
}

.latest-grid .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.04);
}


.pagination {
    margin: 48px 0;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    justify-content: center;
}

.pagination a {
    display: block;
    padding: 8px 14px;
    border: 1px solid #dce2ea;
    border-radius: 30px;
    text-decoration: none;
    color: #2c3e50;
}

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

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


.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-label {
    background: white;
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid #d0d9e2;
    cursor: default;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border: 1px solid #d9e0e8;
    border-radius: 12px;
    list-style: none;
    width: 200px;
    padding: 8px 0;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.filter-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #1e2a3a;
}

.dropdown-menu li a:hover {
    background: #f2f5f9;
}


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

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


.site-footer {
    background: #0f1a27;
    color: #b0c0d0;
    padding: 48px 0 32px;
    margin-top: 60px;
}

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

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

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

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

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


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

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

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

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

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

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

@media (max-width: 768px) {
    .article-full {
        padding: 15px;
    }

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

    .main-nav {
        display: none;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .hamburger {
        display: block;
    }

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

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

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .article-header h1 {
        font-size: 1.4rem;
    }

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

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

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

    .share-section {
        justify-content: center;
    }

    .breadcrumb {
        padding: 12px 18px;
    }

    .author-profile {
        padding: 30px 24px;
    }

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

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

    .author-headline h1 {
        font-size: 2.2rem;
    }

    .author-stats {
        justify-content: center;
        gap: 20px;
    }

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

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