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

:root {
    --space: 1.5rem;
    --radius: 24px;
    --radius-sm: 20px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 30px rgba(0, 0, 0, 0.08);
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #1e293b;
    --text-light: #475569;
    --text-lighter: #64748b;
    --bg: #fafafa;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --border-light: #edf2f7;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

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

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

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

ul,
li {
    list-style: none;
}


.site-header {
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    z-index: 50;
    transition: background 0.2s, box-shadow 0.2s, backdrop-filter 0.2s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}

.nav-list a {
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
}


.breaking-ticker {
    background: #f1f5f9;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.ticker-label {
    background: #dc2626;
    color: white;
    padding: 2px 10px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 16px;
}

.ticker-text {
    font-weight: 500;
}


.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin: 2rem 0;
}

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

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

.breadcrumb li+li::before {
    content: "›";
    margin-right: 0.5rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

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

.category-title {
    margin-bottom: 15px;
}


.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: var(--border);
}

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

.tag {
    display: inline-block;
    background: #e6f0ff;
    color: #1e4f8a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-title {
    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-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta {
    color: var(--text-lighter);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}


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

.featured-main .card-title {
    font-size: 1.8rem;
    -webkit-line-clamp: 3;
}

.side-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    align-items: center;
    background: white;
    border-radius: var(--radius-sm);
    padding: 12px;
    box-shadow: var(--shadow);
}

.side-card .card-img {

    border-radius: 12px;
}

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

.side-card .card-title {
    font-size: 1rem;
    -webkit-line-clamp: 2;
    margin: 4px 0;
}

.card-simple {
    padding: 12px;
    box-shadow: var(--shadow);
}

.card-simple .card-img {
    border-radius: 12px;
    margin-bottom: 15px;
}


.section {
    margin: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.view-all:hover {
    border-bottom-color: var(--primary);
}


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


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

.card-horizontal {
    display: flex;
    background: white;
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    transition: 0.2s;
    align-items: center;
    gap: 16px;
}

.card-horizontal:hover {
    background: var(--bg-light);
}

.card-thumb {
    width: 90px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
}

.card-h-content .tag {
    margin-bottom: 4px;
}

.card-h-content h4 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}


.feature-depth {
    display: flex;
    gap: 24px;
}

.depth-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    flex: 1;
    box-shadow: var(--shadow);
}

.depth-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.depth-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
}

.depth-overlay .tag {
    background: var(--primary);
    color: white;
}

.depth-overlay h3 {
    font-size: 1.5rem;
    margin: 8px 0 4px;
}

.depth-overlay h3 a {
    color: white;
}

.depth-overlay p {
    color: rgba(255, 255, 255, 0.8);
}


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

.topic {
    background: white;
    padding: 10px 22px;
    border-radius: 60px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e9eef3;
    transition: 0.1s;
}

.topic:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.topic span {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-left: 6px;
}


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

.articles-list {
    width: 100%;
}

.list-card {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.list-thumb {
    width: 180px;
    height: 135px;
    border-radius: 18px;
    object-fit: cover;
}

.list-content {
    flex: 1;
}

.list-content h3 {
    font-size: 1.4rem;
    margin: 4px 0 8px;
}

.excerpt {
    margin: 0 0 15px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

.filter-static {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.fake-select {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: white;
}

.tag-filters {
    display: flex;
    gap: 10px;
}

.tag-filter {
    padding: 6px 16px;
    background: #f1f5f9;
    border-radius: 30px;
    font-size: 0.9rem;
}


.pagination {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 3rem 0 2rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 40px;
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
    transition: all 0.1s;
}

.page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-link.prev-next {
    padding: 0 1.2rem;
}


.sidebar-widget {
    background: white;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

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

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--border);
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-list li,
.latest-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.8rem;
}

.related-list a,
.latest-list a {
    font-weight: 500;
    transition: color 0.1s;
    display: block;
}

.related-list a:hover,
.latest-list a:hover {
    color: var(--primary);
}

.related-list span,
.latest-list span {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.category-list li {
    margin-bottom: 0.8rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 0.6rem 1rem;
    border-radius: 40px;
    transition: background 0.1s;
}

.category-list a:hover {
    background: #e6f0ff;
    color: var(--primary);
}

.category-list span {
    color: var(--text-light);
}


.full-article {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow);

}

.article-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.article-subhead {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

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

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

.author-mini-info {
    font-weight: 500;
}

.author-mini-info .name {
    font-weight: 600;
    color: var(--text);
}

.author-mini-info .date {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.article-img {
    width: 100%;
    border-radius: 28px;
    margin: 1.5rem 0;
}

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

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

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

.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    font-style: italic;
    margin: 2rem 0;
}

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

.article-categories {
    margin: 2rem 0 1rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge {
    background: #e6f0ff;
    color: #1e4f8a;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.author-detailed-card {
    display: flex;
    gap: 1.8rem;
    background: var(--bg-light);
    border-radius: 32px;
    padding: 2rem;
    margin: 3rem 0;
    align-items: center;
}

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

.author-detailed-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.author-detailed-info p {
    color: var(--text-light);
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.share-btn {
    background: var(--bg-light);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s, color 0.1s;
}

.share-btn:hover {
    background: var(--primary);
    color: white;
}

.comment-section {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.comment-list {
    margin: 1.5rem 0;
}

.comment-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-right: 0.5rem;
}

.comment-time {
    color: var(--text-lighter);
    font-size: 0.85rem;
}

.comment-text {
    margin-top: 0.4rem;
    color: #334155;
}

.comment-form textarea {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 1rem;
    margin: 1rem 0;
    font-family: inherit;
    resize: vertical;
}

.comment-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s;
}

.comment-form button:hover {
    background: var(--primary-dark);
}

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

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.1s;
}

.related-card:hover {
    transform: translateY(-3px);
}

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

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

.related-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.3rem 0;
}


.author-profile {
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow);
    padding: 3rem;
    margin: 2rem 0 3rem;
}

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

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

.author-headline {
    flex: 1;
}

.author-headline h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.author-headline .subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.author-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0 0.5rem;
}

.stat-item {
    font-size: 1rem;
    color: var(--text-light);
}

.stat-number {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    display: block;
}

.author-bio-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 2rem 0;
}

.author-detailed-body {
    margin: 2.5rem 0;
}

.author-detailed-body p {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    color: #2d3c53;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    background: #f1f5f9;
    padding: 0.6rem 1.5rem;
    border-radius: 60px;
    font-weight: 500;
    transition: background 0.1s, color 0.1s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

.recent-posts {
    margin-top: 4rem;
}

.recent-posts h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.author-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.author-card-item {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.15s;
}

.author-card-item:hover {
    transform: translateY(-6px);
}

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

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

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

.author-card-content .meta {
    color: var(--text-lighter);
    font-size: 0.9rem;
}


.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--text);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 90;
    transition: opacity 0.2s;
}

.back-to-top.show {
    display: flex;
}


.site-footer {
    background: white;
    margin-top: 70px;
    padding: 20px 0 20px;
}

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

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

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

.footer-col ul li {
    margin-bottom: 12px;
    color: #334155;
}

.footer-bottom {
    text-align: center;
    color: #94a3b8;
}

.footer-bottom a {
    color: #94a3b8;
}

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

    .grid-3,
    .grid-3-alt,
    .feature-depth,
    .two-col,
    .footer-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 53px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
    }

    .nav-list.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

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

    .list-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

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

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

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

    .author-bio-text {
        border-left: none;
        border-top: 4px solid var(--primary);
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .author-detailed-body {
        columns: 1;
    }

    .author-profile {
        padding: 2rem;
    }

    .full-article {
        padding: 1.5rem;
    }

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

@media (max-width: 768px) {
    .author-mini-img{
        display: none;
    }
    .author-mini{
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    .date{
        display: flex;
    }
    .site-header {
        position: relative;
        padding: 5px 6px;
    }

    .header-container {
        height: auto;
    }

    .author-detailed-card {
        flex-direction: column;
    }

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

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

    .full-article {
        margin: 30px 0;
    }

    .category-title h1{
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .section {
        margin: 30px 0;
        padding: 0;
    }

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

    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        text-align: center;
    }

    .pagination {
        justify-content: center;
    }
}