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

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

ul,
ol {
    list-style: none;
}

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

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

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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a2540, #2b6e9e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-menu a {
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #2b6e9e;
}

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

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

.top-badge {
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.breaking {
    background: #e11d48;
    color: white;
    padding: 2px 8px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.trending-link {
    font-weight: 500;
    transition: color 0.2s;
}

.trending-link:hover {
    color: #e11d48;
}

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

.card:hover {
    transform: translateY(-5px);
    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;
}

.category-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #2b6e9e;
    margin-bottom: 8px;
    display: inline-block;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    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: 0.75rem;
}

.meta {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

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

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

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

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

.feature-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: #f9fbfd;
    border-radius: 28px;
    overflow: hidden;
    align-items: center;
}

.feature-card .card-img {
    border-radius: 24px;
    aspect-ratio: 4/3;
}



.hot-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.topic-pill {
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.topic-pill:hover {
    background: #2b6e9e;
    color: white;
    transform: translateY(-2px);
}

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

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

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

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.6rem;
    color: #94a3b8;
}

.breadcrumb a:hover {
    color: #2b6e9e;
    text-decoration: underline;
}

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

.sidebar-card {
    background: #f9fbfd;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #eef2f6;
    transition: box-shadow 0.2s;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.author-sidebar-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border-left: 4px solid #2b6e9e;
    padding-left: 12px;
}

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

.sidebar-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.75rem;
}

.sidebar-list a {
    font-weight: 500;
    transition: color 0.2s;
    display: block;
}

.sidebar-list a:hover {
    color: #2b6e9e;
}

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

.cat-badge {
    background: #eef2ff;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cat-badge:hover {
    background: #2b6e9e;
    color: white;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 3rem 0 2rem;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    border-radius: 40px;
    background: #f1f5f9;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .active-page {
    background: #0a2540;
    color: white;
}

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

.post-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
    color: #0a2540;
}

.post-subtitle {
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 1rem;
    font-weight: 400;
    border-left: 3px solid #2b6e9e;
    padding-left: 1rem;
}

.post-meta-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

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

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

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

.post-body p {
    margin-bottom: 1.4rem;
}

.post-body h2 {
    font-size: 1.6rem;
    margin: 1.8rem 0 1rem;
    font-weight: 700;
}

.post-body img {
    margin: 1.5rem auto;
}

.author-bio-card {
    background: #f9fbfd;
    border-radius: 28px;
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 2.5rem 0;
}

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

.author-bio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1rem 0 1.5rem;
}

.share-btn {
    background: #eef2f6;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    font-weight: 500;
}

.share-btn:hover {
    background: #2b6e9e;
    color: white;
}

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

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

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

.comment {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
}

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

.btn {
    background: #0a2540;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
}

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

.author-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.author-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 0.5rem;
    color: #0a2540;
}



.author-title {
    font-size: 1.1rem;
    color: #2b6e9e;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-badges {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.badge {
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.2rem 0;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a2540;
}

.author-bio-full {
    max-width: 880px;
    margin: 0 auto;
    background: #f9fbfd;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid #eef2f6;
}

.bio-section {
    margin-bottom: 2rem;
}

.bio-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 4px solid #2b6e9e;
    padding-left: 16px;
}

.bio-section p {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 1.5rem 0 0;
}

.social-icon {
    background: #eef2f6;
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 500;
    transition: 0.2s;
}

.social-icon:hover {
    background: #0a2540;
    color: white;
}

.featured-posts {
    margin: 3rem auto;
    max-width: 1280px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    border-left: 5px solid #2b6e9e;
    padding-left: 18px;
}

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

.footer {
    background: #fafcff;
    border-top: 1px solid #eef2f6;
    margin-top: 4rem;
    padding: 3rem 0 2rem;
}

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

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

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

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

.footer-col a:hover {
    color: #2b6e9e;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
}

.copyright p {
    text-align: center;
}

.copyright a {
    color: #6c757d;
}

.go-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0a2540;
    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.1);
    border: none;
    z-index: 99;
}

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

@media (max-width: 992px) {

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

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

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

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

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

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 100%;
    }

    .navbar {
        position: relative;
    }

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

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

    .hamburger {
        display: flex;
    }

    .container {
        padding: 0 20px;
    }

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

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

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

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

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

    .breadcrumb {
        font-size: 0.75rem;
    }
}