﻿* {
    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-color: #f9fbfd;
    scroll-behavior: smooth;
}

ul,
ol {
    list-style: none;
}

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

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

a:hover {
    text-decoration: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeef2;
    transition: background 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 18px rgba(0, 32, 64, 0.08);
    backdrop-filter: blur(6px);
}

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

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

.logo span {
    color: #3b6e8f;
    font-weight: 300;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e4e;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    border-bottom-color: #3b6e8f;
    color: #0b1c26;
}

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

.top-banner {
    background: #e6f0f5;
    padding: 12px 0;
    border-bottom: 1px solid #cbd8e2;
    font-size: 0.95rem;
}

.top-banner a {
    color: #1d5b7a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.breadcrumb {
    margin: 30px auto 20px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f2f7fb;
    border-radius: 50px;
    padding: 10px 25px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #2d5a78;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 12px;
    color: #99b5cb;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb a {
    text-decoration: none;
    color: #1e4d69;
    font-weight: 500;
}

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

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

.section {
    margin: 50px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    border-left: 6px solid #3b6e8f;
    padding-left: 20px;
    color: #13242e;
}

.split-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -8px rgba(0, 32, 64, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s;
    margin-bottom: 25px;
    border: 1px solid #eef3f7;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 30px -12px rgba(21, 50, 80, 0.15);
}

.card__img {
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.3s ease;
    aspect-ratio: 4/3;
    display: block;
}

.card:hover .card__img img {
    scale: 1.03;
}

.card__content {
    padding: 20px;
}

.card__tag {
    display: inline-block;
    background: #e2ebf2;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #2a5777;
    margin-bottom: 12px;
}

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

.card h3 a,
.card h2 a {
    text-decoration: none;
    color: #162b38;
}

.card h3 a:hover {
    color: #2d6d96;
}

.card__excerpt {
    color: #3f5565;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__meta {
    font-size: 0.85rem;
    color: #677e91;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card--horizontal {
    display: flex;
    gap: 5px;
}

.card--horizontal .card__img {
    flex: 1 0 35%;
    max-width: 35%;
}

.card--horizontal .card__content {
    flex: 1;
    padding: 15px 15px 15px 10px;
}

.card--stacked .card__img {
    aspect-ratio: 4/3;
}

.card--feature {
    display: block;
}

.card--feature .card__img {
    aspect-ratio: 4 / 3;
}

.card--large .card__content {
    padding: 25px;
}

.card--large h2 {
    font-size: 1.6rem;
}

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

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

.cards-grid--feature {
    grid-template-columns: repeat(3, 1fr);
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 20px;
}

.topic-item {
    background: white;
    border: 1px solid #d0dfe9;
    border-radius: 50px;
    padding: 10px 22px;
    text-decoration: none;
    color: #1d4a68;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.topic-item:hover {
    background: #1d4a68;
    color: white;
    border-color: #1d4a68;
}

.static-filter {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #edf3f8;
    padding: 15px 20px;
    border-radius: 60px;
    width: fit-content;
}

.filter-select {
    padding: 10px 25px 10px 15px;
    border: 1px solid #b8ccda;
    border-radius: 30px;
    background: white;
    font-size: 0.95rem;
    color: #1f3c4f;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b6e8f' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.site-footer {
    background: #142b36;
    color: #cfdee8;
    padding: 30px 0;
    margin-top: 70px;
}

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

.site-footer a {
    color: #cfdee8;
}

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

.footer-col h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

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

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

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

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

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

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1d4a68;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 30, 50, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: 0.2s;
}

.back-to-top:hover {
    background: #0f3143;
}

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

.category-header h1 {
    font-size: 2.6rem;
    font-weight: 350;
    letter-spacing: -0.02em;
    color: #152b36;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #edf3f8;
    padding: 8px 18px;
    border-radius: 40px;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 18px;
    border: 1px solid #cedae3;
    border-radius: 30px;
    color: #264c63;
    text-decoration: none;
    font-weight: 500;
    transition: 0.15s;
    background: white;
}

.page-link:hover {
    background: #e2effa;
    border-color: #9fb9cf;
}

.page-link.active {
    background: #1d4a68;
    color: white;
    border-color: #1d4a68;
}

.page-link.disabled {
    opacity: 0.4;
    pointer-events: none;
    background: #f4f8fc;
}

.tag-cloud {
    background: #eaf1f7;
    border-radius: 50px;
    padding: 25px 30px;
    margin: 40px 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.tags a {
    background: white;
    padding: 5px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #1b516e;
}

.sidebar-card {
    background: white;
    border-radius: 28px;
    padding: 28px 22px;
    margin-bottom: 30px;
    box-shadow: 0 12px 28px -8px rgba(21, 50, 80, 0.06);
    border: 1px solid #eef3f7;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 22px;
    border-left: 4px solid #3b6e8f;
    padding-left: 18px;
    color: #13242e;
}

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

.author-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dbe9f2;
    margin-bottom: 15px;
}

.author-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b3c50;
    margin-bottom: 6px;
}

.author-bio {
    color: #3f5e74;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 5px;
}

.list-with-img li,
.list-simple li {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px dashed #dae5ee;
}

.list-with-img li:last-child,
.list-simple li:last-child {
    border-bottom: none;
}

.list-img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.list-item-title a {
    text-decoration: none;
    color: #1d3a4b;
}

.list-item-title a:hover {
    color: #2b688b;
}

.list-item-meta {
    font-size: 0.8rem;
    color: #6a859b;
}

.list-simple li {
    display: block;
    padding: 10px 0;
}

.list-simple .list-item-title {
    margin-bottom: 3px;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #dae5ee;
}

.category-list a {
    text-decoration: none;
    color: #23536e;
    font-weight: 500;
}

.category-list a:hover {
    color: #0d3142;
}

.category-count {
    background: #e3eef8;
    padding: 3px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1b4d69;
}

.two-col-layout {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2%;
    margin: 40px auto;
}

.main-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #0b262f;
}

.article-subhead {
    font-size: 1.3rem;
    font-weight: 350;
    color: #3a5f77;
    margin-bottom: 1.5rem;
    border-left: 3px solid #c0d8e9;
    padding-left: 1.2rem;
}

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

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

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3f6077;
    font-size: 0.95rem;
}

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

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

.article-body p {
    margin: 1.6em 0;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: #102b36;
}

.article-tags {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #dae2ea;
    border-bottom: 1px solid #dae2ea;
}

.article-tags a {
    display: inline-block;
    background: #e2ebf2;
    padding: 5px 15px;
    border-radius: 30px;
    margin-right: 10px;
    text-decoration: none;
    color: #1f5372;
}

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

.author-card-large img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 8px 18px rgba(0, 40, 60, 0.1);
}

.author-card-large h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #16323f;
}

.author-card-large p {
    color: #2f4f64;
}

.share-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn {
    background: #1d4a68;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.15s;
    font-weight: 500;
}

.share-btn:hover {
    background: #0e3346;
}

.comments-section {
    margin-top: 60px;
}

.comment {
    background: #f1f7fc;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.comment-form {
    background: white;
    padding: 30px;
    border-radius: 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    margin-top: 30px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d2dee9;
    border-radius: 18px;
    margin: 10px 0;
    font-family: inherit;
}

.comment-form button {
    background: #204b65;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
}

.form-note {
    font-size: 0.85rem;
    color: #7a8f9e;
    margin-top: 10px;
}

.related-posts {
    background: #ecf3f9;
    padding: 30px;
    border-radius: 30px;
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.related-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 32, 64, 0.04);
    border: 1px solid #e8f0f6;
    transition: transform 0.2s;
}

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

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

.related-card .content {
    padding: 15px;
}

.related-card h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-card h4 a {
    text-decoration: none;
    color: #1b3b4e;
}

.related-card .meta {
    font-size: 0.8rem;
    color: #6c8da3;
}

.author-profile-header {
    background: white;
    border-radius: 40px;
    box-shadow: 0 18px 35px -12px rgba(21, 50, 80, 0.12);
    padding: 50px 45px;
    margin: 30px 0 40px;
    border: 1px solid #edf3f9;
}

.author-profile-flex {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    flex-wrap: wrap;
}

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

.author-profile-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #e9f0f7;
    box-shadow: 0 12px 24px rgba(0, 45, 70, 0.15);
}

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

.author-profile-name {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #0a262f;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.author-profile-title {
    font-size: 1.3rem;
    font-weight: 350;
    color: #3d657d;
    margin-bottom: 1.6rem;
    border-left: 4px solid #c9deec;
    padding-left: 20px;
}

.author-profile-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1c3747;
    margin-bottom: 2rem;
    max-width: 700px;
}

.author-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.author-profile-meta .meta-item {
    background: #eaf3fb;
    padding: 10px 22px;
    border-radius: 50px;
}

.social-author-links {
    display: flex;
    gap: 18px;
    margin: 25px 0 10px;
}

.social-author-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #deecf5;
    border-radius: 50%;
    color: #1d4f6e;
    text-decoration: none;
    font-size: 1.4rem;
    transition: 0.15s;
}

.social-author-links a:hover {
    background: #1d4f6e;
    color: white;
}

.author-detailed-bio {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 2px dashed #d2e2ef;
}

.author-detailed-bio h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #143542;
    margin-bottom: 25px;
}

.author-detailed-bio p {
    font-size: 1rem;
    line-height: 1.75;
    color: #1e3c4d;
    margin: 1.2em 0;
}

.author-articles {
    margin: 70px 0 30px;
}

.author-articles h2 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    border-left: 6px solid #3b6e8f;
    padding-left: 20px;
    color: #13242e;
}

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

    .split-cols,
    .cards-grid--alt,
    .cards-grid--feature,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .card--horizontal .card__img {
        max-width: 100%;
    }

    .category-header {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }

    .filter-bar {
        flex-wrap: wrap;
    }
}

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

    .header-container {
        height: 54px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 30px 30px rgba(0, 0, 0, 0.05);
        padding: 20px;
    }

    .nav-menu.show {
        display: block;
    }

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

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

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

    .author-mini,
    .meta-item {
        font-size: 0.75rem;
    }

    .article-subhead {
        font-size: 1.1rem;
    }

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

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

    .author-profile-header {
        padding: 30px 20px;
    }

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

    .author-profile-title {
        border-left: none;
        border-top: 2px solid #c9deec;
        padding-top: 15px;
        padding-left: 0;
    }

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

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

    .author-profile-name {
        font-size: 2.4rem;
    }
}