﻿* {
    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: #1a1e24;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

a:hover {
    color: #062c44;
}

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

ul,
li {
    list-style: none;
}


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


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

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1e24;
    letter-spacing: -0.5px;
}

.logo span {
    color: #0a4b7a;
    font-weight: 300;
}

.main-nav {
    display: none;
}

.main-nav.open {
    display: block;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eaeef2;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-list a {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
}

.nav-list a.active,
.nav-list a:hover {
    color: #0a4b7a;
    border-bottom: 2px solid #0a4b7a;
    padding-bottom: 4px;
}

.hamburger {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #1a1e24;
    line-height: 1;
}


@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .main-nav {
        display: block !important;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        width: auto;
    }

    .nav-list {
        flex-direction: row;
        gap: 28px;
    }

    .nav-list a {
        font-size: 1rem;
    }
}


.breaking-bar {
    background-color: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #dde3e9;
    margin-bottom: 24px;
}

.breaking-label {
    background-color: #c5283d;
    color: white;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-right: 12px;
}

.breaking-text {
    color: #1a1e24;
}

.breaking-text a {
    font-weight: 600;
    text-decoration: underline;
}


.breadcrumb-ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 40px;
    margin: 20px 0 30px;
}

.breadcrumb-ol li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #4a5a6a;
}

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

.breadcrumb-ol a {
    color: #0a4b7a;
    font-weight: 500;
}

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

.breadcrumb-ol .current {
    color: #4a5a6a;
    font-weight: 400;
}


.card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f3f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -8px rgba(0, 40, 80, 0.12);
}

.card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 20px;
    flex: 1;
}

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #0a4b7a;
    margin-bottom: 6px;
    display: inline-block;
    background: #e9f0f9;
    padding: 2px 10px;
    border-radius: 20px;
}

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

.card-title a {
    color: #1a1e24;
}

.card-excerpt {
    color: #4a5568;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.9rem;
    color: #6b7a8a;
}


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

@media (min-width: 680px) {
    .card-horizontal {
        flex-direction: row;
        grid-column: span 2;
    }

    .card-horizontal .card-img {
        width: 40%;
        aspect-ratio: 4/3;
    }
}

.card-accent {
    background-color: #fafcfd;
}

.card-row {
    flex-direction: row;
    gap: 16px;
}

.card-row .card-img {
    width: 40%;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}

.card-row .card-content {}

.card-row .card-title {
    margin-bottom: 4px;
}

.card-stacked {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    border: none;
    box-shadow: none;
    border-bottom: 1px solid #edf2f7;
    border-radius: 0;
    padding-bottom: 16px;
}

.card-stacked:last-child {
    border-bottom: none;
}

.card-stacked .card-img {
    width: 80px;
    height: 60px;
}

.card-badge {
    position: relative;
    border-left: 4px solid #0a4b7a;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
}

.badge {
    background: #c5283d;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 12px;
    position: absolute;
    top: -8px;
    left: 16px;
    border-radius: 20px;
}


.block-header h2 {
    font-size: 1.6rem;
    margin: 30px 0;
}

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

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

@media (min-width: 680px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}


.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.pill {
    background: #f0f4fa;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.95rem;
    color: #1a1e24;
    transition: background 0.2s;
}

.pill:hover {
    background: #dae2ec;
}


.list-layout {
    display: grid;
    gap: 40px;
    grid-template-columns: 100%;
}

@media (min-width: 992px) {
    .list-layout {
        grid-template-columns: 70% 28%;
    }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 30px 0 20px;
    border-bottom: 2px solid #eaeef2;
    padding-bottom: 16px;
}


.list-sidebar {}

.sidebar-widget {
    margin-bottom: 40px;
    background: #f9fbfd;
    padding: 24px;
    border-radius: 16px;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.search-form {
    display: flex;
    border: 1px solid #dde3e9;
    border-radius: 60px;
    overflow: hidden;
    background: white;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 12px 18px;
    font-size: 1rem;
    outline: none;
}

.search-form button {
    background: white;
    border: none;
    padding: 0 18px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #4a5568;
}

.filter-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dde3e9;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
}

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

.tag-cloud a {
    background: white;
    border: 1px solid #d0dbe8;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #1a1e24;
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background: #0a4b7a;
    color: white;
    border-color: #0a4b7a;
}

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

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

.latest-list a {
    font-weight: 500;
}


.author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9fbfd;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid #eaeef2;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.author-info p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}


.related-list,
.latest-list {
    list-style: none;
    padding: 0;
}

.related-list li,
.latest-list li {
    margin-bottom: 16px;
    border-bottom: 1px dashed #dde3e9;
    padding-bottom: 12px;
}

.related-list li:last-child,
.latest-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-list a,
.latest-list a {
    font-weight: 500;
    color: #1a1e24;
    display: block;
    line-height: 1.4;
}

.related-list a:hover,
.latest-list a:hover {
    color: #0a4b7a;
}


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

.category-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

.category-list a {
    color: #1a1e24;
    font-weight: 500;
}

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

.category-list .count {
    background: #e9f0f9;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #0a4b7a;
    font-weight: 500;
}


.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 14px;
    border: 1px solid #dde3e9;
    border-radius: 6px;
    color: #1a1e24;
    transition: 0.2s;
}

.page-link.active,
.page-link:hover {
    background: #0a4b7a;
    color: white;
    border-color: #0a4b7a;
}


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

.article-header-detailed h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 400;
    margin: 10px 0 5px;
    letter-spacing: -0.01em;
}

.article-subhead {
    font-size: 1.2rem;
    color: #4a5568;
    margin: 0 0 20px;
    font-weight: 300;
    border-left: 4px solid #cbd5e0;
    padding-left: 20px;
}

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

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

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

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

.author-mini .author-name:hover {
    color: #0a4b7a;
}

.meta-stats {
    display: flex;
    gap: 20px;
    color: #6b7a8a;
    font-size: 0.95rem;
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.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 {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    line-height: 1.7;
    color: #171717;
    margin-bottom: 1.8em;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 2em 0 1em;
    font-weight: 400;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 1.5em 0 0.8em;
    font-weight: 500;
}

.article-category-footer {
    margin: 40px 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.article-category-footer .category-tag {
    font-size: 0.85rem;
    background: #e9f0f9;
    color: #0a4b7a;
}


.author-card-large {
    display: flex;
    gap: 24px;
    background: #f9fbfd;
    padding: 30px;
    border-radius: 24px;
    margin: 40px 0;
    border: 1px solid #eaeef2;
}

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

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

.author-card-large p {
    color: #4a5568;
    margin-bottom: 16px;
}

.author-card-large .author-social a {
    margin-right: 16px;
    color: #0a4b7a;
    font-weight: 500;
}

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

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

.share-btn {
    background: #f0f4fa;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

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

.comments-section-detailed {
    margin: 50px 0;
}

.comments-section-detailed h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
}

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

.comment-item:last-child {
    border-bottom: none;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-meta img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-meta strong {
    font-weight: 600;
    color: #1a1e24;
}

.comment-meta .comment-date {
    color: #8a9aa8;
    font-size: 0.9rem;
    margin-left: auto;
}

.comment-text {
    color: #2d3a47;
    margin-left: 52px;
}

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

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

.comment-form button {
    background: #0a4b7a;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form button:hover {
    background: #062c44;
}


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

.related-card {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f3f7;
    transition: transform 0.2s;
    padding: 12px;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.related-card img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-card h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.related-card h4 a {
    color: #1a1e24;
}

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


.author-profile {
    max-width: 880px;
    margin: 40px auto;
    padding: 0 24px;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.author-avatar-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.author-headline {
    flex: 1;
}

.author-headline h1 {
    font-size: 2.8rem;
    font-weight: 300;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.author-headline .author-title {
    font-size: 1.3rem;
    color: #0a4b7a;
    margin-bottom: 16px;
    font-weight: 400;
}

.author-headline .author-bio-short {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-social-links a {
    display: inline-block;
    margin-right: 20px;
    color: #2c3e50;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.author-social-links a:hover {
    border-bottom-color: #0a4b7a;
    color: #0a4b7a;
}

.author-detailed-bio {
    margin: 50px 0;
    background: #f9fbfd;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #eaeef2;
}

.author-detailed-bio h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.author-detailed-bio p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3a47;
    margin-bottom: 1.5em;
}

.author-detailed-bio p:last-child {
    margin-bottom: 0;
}

.author-articles {
    margin-top: 60px;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    border-bottom: 2px solid #eaeef2;
    padding-bottom: 16px;
}

.article-grid-3 {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .article-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .article-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.author-articles .card {
    height: 100%;
}


.site-footer {
    background: #1e2a36;
    color: #cdd9e5;
    padding: 24px 0;
    margin-top: 60px;
}

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

@media (min-width: 680px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

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

.footer-col a {
    color: #b0c4d9;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.footer-logo span {
    color: #6da1cc;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #8fa2b8;
}

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

.footer-bottom a {
    color: #8fa2b8;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1e24;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;

    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s;
    z-index: 99;
}

#backToTop:hover {
    background: #0a4b7a;
}


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

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

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

    .related-grid {
        grid-template-columns: 100%;
    }

    .article-header-detailed h1 {
        font-size: 1.5rem;
    }

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

    .author-headline h1 {
        font-size: 2.2rem;
    }

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