﻿/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.5;
}

a {
    color: #0a2647;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2c5f8a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: #eef2f6;
}

ul,
li {
    list-style: none;
}

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


.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9eef2;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 0;
    transition: background 0.3s, box-shadow 0.3s;
}

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

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

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #0f1825;
    letter-spacing: -0.02em;
}

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

.main-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1d4ed8;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1e293b;
}


.breadcrumb {
    margin: 1.5rem 0 1rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafc;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

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

.breadcrumb li::after {
    content: "›";
    margin: 0 10px;
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb li:last-child::after {
    content: "";
    margin: 0;
}

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

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

.breadcrumb li:last-child span {
    color: #475569;
    font-weight: 500;
}


.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    letter-spacing: -0.01em;
    border-left: 6px solid #1d4ed8;
    padding-left: 1rem;
}

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

.card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

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

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

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

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

.card-category {
    display: inline-block;
    background: #e5f2ff;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 16px 0 8px 16px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 16px 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    color: inherit;
}


.card-excerpt {
    color: #475569;
    margin: 0 16px 12px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin: 0 16px 16px;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
}


.card-large .card-title {
    font-size: 1.5rem;
}

.card-simple .card-title {
    font-size: 1.2rem;
}


.split-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.half {
    flex: 1 1 300px;
}

.module-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.vertical-list .list-item {
    margin-bottom: 16px;
}

.list-link {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.list-img {
    flex: 0 0 20%;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
}

.list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.list-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-text .card-title,
.list-text .card-excerpt {
    margin-left: 0;
}

.meta {
    color: #64748b;
    font-size: 0.8rem;
}


.card-h {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    background: #fafcfd;
    border-radius: 16px;
    padding: 8px;
    transition: background 0.2s;
}

.card-h:hover {
    background: #f1f5f9;
}

.card-h-img img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.card-h-content {
    flex: 1;
}

.tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 600;
}

.excerpt-sm {
    font-size: 0.9rem;
    color: #334155;
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.special-report {
    margin: 48px 0;
}

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

.card-feature {
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eef2f6;
}

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

.feature-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}


.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0;
}

.cat-item {
    background: #f8fafc;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    border: 1px solid #dee7ef;
    transition: 0.2s;
}

.cat-item:hover {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}


.two-col {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.main-content {
    flex: 0 0 70%;
    min-width: 300px;
}

.sidebar {
    flex: 0 0 28%;
    min-width: 260px;
}

.archive-header h1 {
    font-size: 2.5rem;
    margin: 30px 0 10px;
}

.archive-desc {
    color: #475569;
    margin-bottom: 1rem;
}

.filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-select {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: white;
    font-size: 0.95rem;
}

.tag-filters .tag {
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 30px;
    color: #1e293b;
    text-decoration: none;
    margin-right: 8px;
}

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

.card-list {
    border-bottom: 1px solid #ecf1f6;
    padding-bottom: 24px;
}

.list-card-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 12px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #ecf2f9;
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.02);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    border-left: 4px solid #1d4ed8;
    padding-left: 0.8rem;
}

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

.related-list li,
.category-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.8rem;
}

.related-list a,
.category-list a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    transition: color 0.2s;
}

.related-list a:hover,
.category-list a:hover {
    color: #1d4ed8;
}

.category-list span {
    background: #eef2f6;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #334155;
}

.latest-update-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    align-items: center;
}

.latest-update-item img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
}

.latest-update-item a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.latest-update-item a:hover {
    color: #1d4ed8;
}

.latest-update-item .meta {
    font-size: 0.75rem;
    color: #64748b;
}


.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f9fcff;
    padding: 2rem 1.5rem;
    border-radius: 28px;
    margin-bottom: 2rem;
    border: 1px solid #e6edf4;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

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


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

.pagination a {
    background: white;
    border: 1px solid #dde3e9;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: 0.2s;
}

.pagination a:hover,
.pagination a.active {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}


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

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0f1825;
    margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
    .post-header h1 {
        font-size: 1.4rem;
    }
}

.post-deck {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e9eef2;
    border-bottom: 1px solid #e9eef2;
    margin-bottom: 2rem;
    color: #4b5a6b;
}

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

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

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

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

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

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

.post-body h2,
.post-body h3 {
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.post-body img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 24px;
    margin: 2rem 0;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0 1.5rem;
}

.post-category-tag {
    background: #e5f2ff;
    color: #0369a1;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.author-bio-card {
    display: flex;
    gap: 1.8rem;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 32px;
    margin: 2.5rem 0;
    border: 1px solid #e9eff5;
}

.author-bio-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.author-bio-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.author-bio-card p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.share-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.share-label {
    font-weight: 600;
    color: #1e293b;
}

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

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

.comments-area {
    margin: 3rem 0;
}

.comment {
    background: #ffffff;
    border: 1px solid #ecf2f9;
    padding: 1.5rem;
    border-radius: 24px;
    margin-bottom: 1rem;
}

.comment strong {
    font-size: 1rem;
    color: #0f1825;
}

.comment p {
    margin: 0.5rem 0 0.25rem;
    color: #1e293b;
}

.comment-meta {
    font-size: 0.8rem;
    color: #64748b;
}

.comment-form {
    background: #f9fcff;
    padding: 2rem;
    border-radius: 28px;
    margin-top: 2.5rem;
}

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

.comment-form textarea {
    border-radius: 28px;
}

.comment-form button {
    background: #1d4ed8;
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

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

.related-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #ecf2f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px -8px rgba(0, 35, 70, 0.1);
}

.related-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

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

.related-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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


.author-hero {
    background: #ffffff;
    border-radius: 48px;
    padding: 3rem 2.5rem;
    margin: 2rem 0 3rem;
    border: 1px solid #ecf2f9;
    box-shadow: 0 10px 25px -8px rgba(0, 20, 40, 0.05);
}

.author-hero-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.author-hero-avatar {
    flex: 0 0 160px;
}

.author-hero-avatar img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 15px 25px -8px rgba(0, 35, 70, 0.15);
}

.author-hero-info {
    flex: 1;
    min-width: 280px;
}

.author-hero-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0f1825;
}

.author-hero-title {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-hero-bio {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.author-social a {
    background: #f1f5f9;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1e293b;
    font-size: 1.3rem;
    transition: 0.2s;
}

.author-social a:hover {
    background: #2563eb;
    color: white;
}

.author-detail-body {
    max-width: 900px;
    margin: 3rem auto 4rem;
    font-size: 1rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.7;
}

.author-detail-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: #0f1825;
}

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

.author-detail-body blockquote {
    border-left: 6px solid #2563eb;
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-radius: 24px;
    font-style: italic;
    color: #1e293b;
    margin: 2rem 0;
}

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

.stat-item {
    background: #f8fafc;
    padding: 1rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    border: 1px solid #e0e8f0;
}

.stat-item span {
    color: #2563eb;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.author-posts {
    margin: 4rem 0;
}

.author-posts h3 {
    margin-bottom: 2rem;
    border-left: 6px solid #1d4ed8;
    padding-left: 1.2rem;
}

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


.site-footer {
    background: #0f1825;
    color: #cbd5e1;
    margin-top: 60px;
    padding: 20px 0;
}

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

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

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

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

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

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #cbd5e1;
}


#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background: #1d4ed8;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

#backToTop:hover {
    background: #2563eb;
}


@media (max-width: 900px) {

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

@media (max-width: 768px) {
    .post-meta-bar {
        gap: 0.5rem;
    }

    .meta-item,
    .post-meta-bar {
        font-size: 0.75rem;
    }

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

    .split-row {
        flex-direction: column;
    }

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

    .site-header {
        position: relative;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #ddd;
    }

    .main-nav ul.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

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

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

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

    .author-hero {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {

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

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