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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

ul,
ol {
    list-style: none;
}

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

a {
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

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

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e3c72, #2b5876);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

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

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: #2c3e4e;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e88e5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    transition: 0.2s;
}

.top-banner {
    background: #f0f4f8;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.top-banner a {
    font-weight: 600;
    color: #1e88e5;
}

.breadcrumb-area {
    margin: 1.8rem 0 1.5rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafc;
    padding: 0.75rem 1.2rem;
    border-radius: 50px;
    gap: 0.5rem;
    font-size: 0.85rem;
}

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

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: #1e88e5;
}

.breadcrumb .current {
    color: #2d3e50;
    font-weight: 500;
}

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

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

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

.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 .card-img img {
    transform: scale(1.03);
}

.card-content {
    padding: 1.2rem;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #1e88e5;
    margin-bottom: 0.5rem;
    display: inline-block;
}

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

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

.card-meta {
    font-size: 0.75rem;
    color: #718096;
    display: flex;
    gap: 1rem;
}

.horizontal-card {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: all 0.25s;
}

.horizontal-card:hover {
    box-shadow: 0 15px 25px -10px rgba(0, 0, 0, 0.08);
}

.horizontal-card .card-img {
    flex: 1.2;
    aspect-ratio: 4/3;
}

.horizontal-card .card-content {
    flex: 2;
    padding: 1.5rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hot-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.topic-badge {
    background: #f1f5f9;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.topic-badge:hover {
    background: #1e88e5;
    color: white;
    transform: translateY(-2px);
}

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

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

.sidebar-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    border-left: 4px solid #1e88e5;
    padding-left: 0.75rem;
}

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

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

.author-info h4 {
    font-size: 1.2rem;
}

.author-bio {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.4;
    margin-top: 0.5rem;
}

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

.widget-list li {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.widget-list a {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.widget-list a:hover {
    color: #1e88e5;
}

.widget-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

.cat-list span {
    float: right;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.7rem;
}

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

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

.article-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 1rem;
    border-left: 3px solid #1e88e5;
    padding-left: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f6;
    font-size: 0.85rem;
    color: #5a6874;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.article-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.article-content p {
    margin-bottom: 1.4rem;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 1.6rem 0 0.8rem;
}

.article-content figure {
    margin: 1.8rem 0;
}

.article-content img {
    margin: 10px auto;
}

.article-content figcaption {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
}

.article-tags {
    margin: 2rem 0 1.5rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tag {
    background: #f1f5f9;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e88e5;
}

.author-bio-box {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.8rem;
    margin: 2rem 0 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-bio-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.author-bio-info p {
    font-size: 0.85rem;
    color: #4a5568;
}

.share-section {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.share-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
}

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

.comment-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef2f6;
}

.comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.comment-date {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.comment-text {
    font-size: 0.9rem;
    color: #334155;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-family: inherit;
}

.btn-submit {
    background: #1e88e5;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: default;
    font-weight: 600;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s;
    border: 1px solid #f0f0f0;
}

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

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

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

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

.author-hero {
    margin: 2.5rem 0 2rem;
}

.author-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #edf2f7;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.author-avatar-large {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f5f9;
}

.author-info-large {
    flex: 1;
}

.author-name {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 1rem;
    color: #1e88e5;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.author-bio-text {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.author-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: #5a6874;
    margin-bottom: 1rem;
}

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

.social-icon {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
}

.social-icon:hover {
    background: #1e88e5;
    color: white;
}

.author-detailed {
    background: #f8fafc;
    border-radius: 28px;
    padding: 2rem;
    margin: 2rem 0;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #1e88e5;
    padding-left: 1rem;
}

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

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.page-item {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: 0.2s;
    font-weight: 500;
}

.page-item.active {
    background: #1e88e5;
    color: white;
    border-color: #1e88e5;
}

.page-item:hover:not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

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

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

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

.footer-col a {
    color: #4a5568;
}

.footer-col a:hover {
    color: #1e88e5;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
}

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

.copyright a {
    font-size: 0.8rem;
    color: #718096;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e88e5;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

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

@media (max-width: 992px) {
    .two-col-layout {
        grid-template-columns: 100%;
        gap: 2rem;
    }

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

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

    .horizontal-card .card-img {
        flex: auto;
    }

    .site-header {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
        gap: 1.5rem;
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .container {
        padding: 0 20px;
    }

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

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

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

    .author-name {
        font-size: 1.8rem;
    }

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

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

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

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

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

    .author-name {
        font-size: 1.5rem;
    }

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