﻿/* ===== RESET & BASE ===== */
* {
    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: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

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


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

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

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

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

.logo span {
    color: #3b6ea5;
    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;
    font-size: 1.05rem;
    transition: color 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #0a1c2f;
    border-bottom-color: #3b6ea5;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1e2a3a;
    margin: 3px 0;
    transition: 0.3s;
}


.top-bar {
    background: #f2f6f9;
    padding: 10px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #dee5ec;
}

.top-bar .tag {
    background: #c44536;
    color: white;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 12px;
    text-transform: uppercase;
}

.top-bar a {
    color: #1e2a3a;
    font-weight: 600;
    text-decoration: underline 1.5px #3b6ea5;
}


.breadcrumb {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #eaeef2;
    margin-bottom: 20px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px 16px;
}

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

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

.breadcrumb a {
    color: #1e4b7c;
    text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
    font-weight: 600;
    color: #1e2a3a;
}


.section-title {
    font-size: 2rem;
    font-weight: 500;
    margin: 2.5rem 0 2rem;
    letter-spacing: -0.02em;
}

.section-title span {
    color: #3b6ea5;
    font-weight: 600;
    margin-left: 4px;
}


.img-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f6;
}

.img-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.card-content {
    padding: 16px 0 8px;
}

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

.category-tag.small {
    font-size: 0.7rem;
    padding: 2px 8px;
}

.category-tag.feature {
    background: #ffe5d9;
    color: #aa4e2c;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; 
}

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

.card h3 a:hover {
    color: #3b6ea5;
}

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

.meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6a7b8b;
}

.meta .author {
    font-style: normal;
}


.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 20px;
}

.card-large .card-content {
    padding-top: 20px;
}

.card-large h3 {
    font-size: 1.8rem;
}

.card-vertical .excerpt {
    -webkit-line-clamp: 2;
}

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



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

.card-horizontal {
    display: flex;
    gap: 25px;
    align-items: center;
}

.card-horizontal .img-link {
    flex: 0 0 240px;
}

.card-horizontal:nth-child(even) {
    flex-direction: row-reverse;
}

.card-horizontal h3 {
    font-size: 1.5rem;
}


.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 30px 0 40px;
}

.cat-item {
    display: block;
    padding: 24px 12px;
    text-align: center;
    border-radius: 24px;
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f6;
}

.cat-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #4b5b6b;
    margin-top: 6px;
}

.cat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px -8px rgba(0, 35, 70, 0.1);
    border-color: #cbdbe9;
}


.two-col-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 50px;
    margin-top: 30px;
}

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

.cat-header h1 {
    font-size: 2.4rem;
    font-weight: 500;
}

.count {
    font-size: 1rem;
    color: #6a7b8b;
    margin-left: 12px;
}

.static-select {
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid #bacddc;
    background: white;
    font-size: 0.95rem;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 50px 0 20px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: white;
    border: 1px solid #dae2ec;
    text-decoration: none;
    color: #1e2a3a;
}

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

.pagination .prev,
.pagination .next {
    font-weight: 600;
    padding: 8px 16px;
    background: #f2f6fc;
    border-radius: 40px;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: #1e2a3a;
    color: white;
}

.sidebar-widget {
    background: #f7faff;
    padding: 24px 20px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    background: white;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid #c8d5e4;
    text-decoration: none;
    color: #1f3a5f;
}

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

.recom-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #c9d8e8;
    padding-bottom: 8px;
}

.recom-list a {
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 500;
}

.recom-list a:hover {
    color: #1e4b7c;
}


.author-card {
    text-align: center;
    padding: 32px 20px;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: block;
    object-fit: cover;
}

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

.author-bio-text {
    color: #4b5b6b;
    font-size: 0.95rem;
    line-height: 1.5;
}


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

.update-list li {
    margin-bottom: 16px;
    border-bottom: 1px dashed #d4e0ec;
    padding-bottom: 12px;
}

.update-list a {
    text-decoration: none;
    color: #1e2a3a;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.update-list a:hover {
    color: #1e4b7c;
}

.update-date {
    font-size: 0.8rem;
    color: #7a8b9f;
    background: #eef3f8;
    padding: 2px 8px;
    border-radius: 30px;
    white-space: nowrap;
}


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

.category-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #e4ecf5;
    padding-bottom: 8px;
}

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

.category-list .count {
    background: #e1ecfe;
    color: #1e4b7c;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 30px;
}

.category-list a:hover {
    color: #1e4b7c;
}


.single-article .article-header {
    margin-bottom: 30px;
}

.single-article h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 16px 0 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}


.subhead {
    font-size: 1.3rem;
    color: #4a5b6b;
    margin: 20px 0 25px;
    font-weight: 400;
    line-height: 1.5;
    border-left: 4px solid #3b6ea5;
    padding-left: 20px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    border-top: 1px solid #eaeef2;
    border-bottom: 1px solid #eaeef2;
    padding: 15px 0;
}

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

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

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

.meta-details {
    display: flex;
    gap: 20px;
    color: #6a7b8b;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.meta-details span {
    display: inline-flex;
    align-items: center;
}



.meta-details span:first-child::before {
    content: none;
}

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

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

.article-body {
    font-size: 1.085rem;
    color: #171717;
    line-height: 1.7;
    letter-spacing: 0.2px;
    margin: 30px 0;
}

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

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

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

.article-body blockquote {
    border-left: 6px solid #3b6ea5;
    background: #f0f6fe;
    padding: 24px 30px;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 30px 30px 0;
    font-size: 1.1rem;
    color: #1e2f3f;
}

.article-tags {
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tag-label {
    font-weight: 600;
    color: #2c3e50;
}

.article-tags .tag {
    background: #eef3f8;
    color: #1e4b7c;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.article-tags .tag:hover {
    background: #d4e2f0;
}

.share-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 40px;
    padding: 20px 0;
    border-top: 1px dashed #d4e0ec;
    border-bottom: 1px dashed #d4e0ec;
}

.share-label {
    font-weight: 600;
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    background: #eef3f8;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e2a3a;
}

.share-btn:hover {
    background: #3b6ea5;
    color: white;
}

.author-bio-card {
    display: flex;
    gap: 30px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 30px;
    margin: 40px 0;
    align-items: center;
}

.author-bio-card .author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.author-role {
    color: #3b6ea5;
    font-weight: 500;
    margin-bottom: 12px;
}

.author-bio {
    color: #4a5b6b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 16px;
}

.author-social a {
    color: #1e2a3a;
    text-decoration: none;
    font-size: 1.4rem;
}

.author-social a:hover {
    color: #3b6ea5;
}

.comments {
    margin: 50px 0;
}

.comments h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.comment-list {
    margin-bottom: 30px;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eaeef2;
}

.comment-meta {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.comment-meta strong {
    font-size: 1.1rem;
}

.comment-date {
    color: #7a8b9f;
    font-size: 0.9rem;
}

.comment p {
    color: #2c3e50;
    line-height: 1.6;
}

.comment-form {
    margin-top: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 18px;
    border-radius: 30px;
    border: 1px solid #c0d0e0;
    resize: vertical;
    margin-bottom: 16px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-form button {
    background: #1e2a3a;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 60px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.comment-form button:hover {
    background: #3b6ea5;
}

.related-posts {
    margin-top: 60px;
}

.related-posts h3 {
    margin-bottom: 30px;
}


.author-profile-full {
    max-width: 900px;
    margin: 0 auto 60px;
}

.author-profile-header {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 40px 0 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeef2;
}

.author-avatar-large {
    flex-shrink: 0;
}

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

.author-info-large h1 {
    font-size: 3rem;
    margin: 0 0 8px;
    line-height: 1.2;
}

.author-role-large {
    font-size: 1.3rem;
    color: #3b6ea5;
    margin-bottom: 15px;
}

.author-social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #eef3f8;
    border-radius: 50%;
    text-decoration: none;
    color: #1e2a3a;
    font-size: 1.3rem;
    transition: all 0.2s;
}

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

.author-bio-full {
    font-size: 1.085rem;
    color: #171717;
    line-height: 1.7;
    letter-spacing: 0.2px;
    margin: 30px 0 40px;
}

.author-bio-full p {
    margin-bottom: 1.8rem;
}

.author-bio-full h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.2rem;
    font-weight: 600;
}

.author-bio-full blockquote {
    border-left: 6px solid #3b6ea5;
    background: #f0f6fe;
    padding: 24px 30px;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 30px 30px 0;
    font-size: 1.1rem;
    color: #1e2f3f;
}

.author-latest-posts {
    margin-top: 60px;
}

.author-latest-posts .section-title {
    margin-bottom: 30px;
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #3b6ea5;
    border-radius: 60px;
    color: #1e4b7c;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #3b6ea5;
    color: white;
}


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

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


.site-footer {
    background: #f8fafc;
    border-top: 1px solid #dde4ec;
    margin-top: 60px;
    padding: 40px 0 20px;
}

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

.footer-col .logo a {
    font-size: 1.8rem;
}

.footer-col p {
    color: #4f6579;
    margin: 12px 0;
}

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

.footer-col li {
    margin-bottom: 10px;
}

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

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

.social {
    display: flex;
    gap: 20px;
}

.social a {
    font-size: 1.4rem;
    font-weight: 400;
}

.copyright {
    text-align: center;
    color: #7b8c9d;
    font-size: 0.85rem;
}

.copyright a {
    color: #7b8c9d;
    font-size: 0.85rem;
}

@media (max-width: 900px) {

    .featured-grid,
    .card-grid.col3,
    .footer-grid,
    .two-col-layout {
        grid-template-columns: 100%;
    }

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

    .card-horizontal:nth-child(even) {
        flex-direction: column;
    }

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

    .main-nav {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-bottom: 1px solid #d9e2ec;
    }

    .main-nav.active {
        display: block;
    }

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

    .hamburger {
        display: flex;
    }
}

@media (max-width: 700px) {
    .author-bio-card {
        flex-direction: column;
    }

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

    .author-info-large h1 {
        font-size: 2.4rem;
    }

    .author-role-large {
        font-size: 1.1rem;
    }

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

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

    .header-inner {
        height: 54px;
    }

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

    .author-name,
    .meta-details,
    .update-date {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .single-article h1 {
        font-size: 1.8rem;
    }
}

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

    .author-info-large h1 {
        font-size: 2rem;
    }
}