﻿* {
    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: #1e2b37;
    background: #ffffff;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

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

ul,
li {
    list-style: none;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

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


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

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 20, 40, 0.06);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #0b1c2b;
}

.logo span {
    font-weight: 300;
    color: #4a6b8a;
}

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

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

.nav-list a:hover,
.nav-list a.active {
    color: #0d2b42;
    border-bottom-color: #4a6b8a;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1e2b37;
    transition: 0.2s;
}


.announcement-bar {
    background: #f2f6fa;
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #d9e2ea;
}

.announcement-bar a {
    color: #1e4d7c;
    font-weight: 500;
    text-decoration: none;
}

.announcement-bar a:hover {
    text-decoration: underline;
}


.section-title {
    font-size: 1.9rem;
    font-weight: 350;
    margin: 2rem 0 1.5rem;
    letter-spacing: -0.01em;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}


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

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 10px;
}

.card-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4a6b8a;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.card-meta {
    font-size: 0.85rem;
    color: #6e879a;
}


.card-horizontal {
    display: flex;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02), 0 1px 4px rgba(0, 20, 40, 0.06);
    transition: transform 0.2s, box-shadow 0.3s;
    border: 1px solid #edf2f7;
    border-radius: 10px;
}

.card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(20, 40, 70, 0.12);
}

.card-horizontal .card-img {
    flex: 0 0 40%;
}

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

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

.card-horizontal h3 a {
    text-decoration: none;
    color: #0f293f;
}

.card-horizontal h3 a:hover {
    color: #1f4e79;
}

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


.card-vertical {
    background: #fff;
    border: 1px solid #ecf1f6;
    padding-bottom: 16px;
    transition: all 0.2s;
}

.card-vertical:hover {
    box-shadow: 0 8px 20px rgba(0, 32, 64, 0.08);
}

.card-vertical .card-img {
    width: 100%;
    margin-bottom: 12px;
}

.card-vertical .card-category {
    margin-left: 16px;
}

.card-vertical h3 {
    font-size: 1.2rem;
    margin: 8px 16px 8px;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-vertical h3 a {
    text-decoration: none;
    color: #0f293f;
}

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

.card-vertical .card-meta {
    margin-left: 16px;
}


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

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


.in-depth {
    background: #f8fafd;
    padding: 30px 0 40px;
    margin: 30px 0;
}

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

.card-large .card-img {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 16px;
}

.card-large h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 10px 0 12px;
}

.card-large .card-excerpt {
    font-size: 1rem;
}

.card-mini {
    padding: 20px 0;
    border-bottom: 1px solid #dee7ef;
}

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

.card-mini h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}


.popular-categories {
    padding: 30px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: #f5f9ff;
    padding: 24px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e3eaf2;
    transition: background 0.2s, transform 0.1s;
}

.category-card:hover {
    background: #e5eefb;
    transform: scale(0.98);
}

.category-emoji {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
}

.category-name {
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
}

.category-count {
    color: #6a7f92;
    font-size: 0.85rem;
}


.breadcrumb-nav {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 12px 16px;
    background: #f4f8fc;
    border-left: 4px solid #4a6b8a;
}

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

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

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

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

.breadcrumb li[aria-current="page"] {
    color: #2e4a6b;
    font-weight: 500;
}

.category-page-main,
.article-main {
    margin-top: 30px;
}

.main-layout {
    display: flex;
    gap: 40px;
}

.content-left {
    flex: 0 0 70%;
    max-width: 70%;
}

.content-right {
    flex: 0 0 30%;
    max-width: 30%;
}


.list-title {
    font-size: 2rem;
    font-weight: 350;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}


.list-grid-mixed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.list-grid-mixed .card-horizontal {
    grid-column: 1 / -1;
}


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

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #d5e0e9;
    color: #2b4a6b;
    text-decoration: none;
}

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

.pagination .prev,
.pagination .next {
    border: 1px solid #c6d6e8;
    background: white;
    padding: 8px 18px;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: #ecf3fc;
}


.sidebar-widget {
    margin-bottom: 48px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 450;
    margin-bottom: 20px;
    border-bottom: 1px solid #cfddee;
    padding-bottom: 8px;
}


.author-card {
    text-align: center;
    background: #f7fafd;
    padding: 28px 20px;
    border: 1px solid #e1eaf2;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 20, 40, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.author-bio {
    color: #365773;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.author-link {
    color: #1d4e7c;
    text-decoration: none;
    font-weight: 500;
}


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

.related-list li,
.latest-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cbdae7;
}

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

.related-list a,
.latest-list a {
    text-decoration: none;
    color: #1a344c;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 4px;
}

.related-list a:hover,
.latest-list a:hover {
    color: #0b253b;
    text-decoration: underline;
}

.list-meta {
    font-size: 0.8rem;
    color: #6e8aa2;
    display: block;
}


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

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

.category-list a {
    text-decoration: none;
    color: #1a3d5c;
}

.category-list a:hover {
    color: #0a253a;
    text-decoration: underline;
}

.cat-count {
    background: #e2ecf9;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #1f4970;
}


.tag-cloud span {
    display: inline-block;
    background: white;
    border: 1px solid #bcccdb;
    padding: 5px 14px;
    margin: 0 6px 10px 0;
    font-size: 0.9rem;
}


.article-header h1 {
    font-size: 2.5rem;
    font-weight: 350;
    line-height: 1.2;
    margin: 16px 0 12px;
}

.article-subhead {
    font-size: 1.3rem;
    color: #3e5c77;
    margin-bottom: 20px;
    font-weight: 300;
}

.byline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    flex-wrap: wrap;
}

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

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

.author-mini span {
    font-weight: 500;
    color: #1b3853;
}

.time-info {
    color: #4f6e89;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

.meta-item {
    color: #4f6e89;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.share-btn {
    background: none;
    border: 1px solid #dadcdd;
    padding: 8px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
}

.share-btn:hover {
    box-shadow: 0 8px 18px rgba(0, 30, 50, 0.1);
}



.share-btn.twitter {}

.share-btn.facebook {
    color: #0061ff;
}

.share-btn.linkedin {
    color: #0e86da;
}

.share-btn.pinterest {
    color: #da0e30;
}

.article-img {
    margin: 30px 0;
}

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

.article-img figcaption {
    font-size: 0.85rem;
    color: #5a7288;
    margin-top: 6px;
}



.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-bottom: 1.8em;
}

.article-body h2 {
    font-size: 1.9rem;
    font-weight: 380;
    margin: 50px 0 20px;
}

.article-body blockquote {
    border-left: 4px solid #4a6b8a;
    background: #f4f9ff;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
}

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

.tag {
    background: #e4ecf5;
    padding: 4px 14px;
    font-size: 0.9rem;
}

.author-block {
    display: flex;
    gap: 24px;
    background: #f5faff;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid #d5e3f0;
    align-items: center;
}

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

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

.author-info p {
    color: #2d4b68;
    margin-bottom: 10px;
}

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

.comment {
    background: #f9fcff;
    padding: 20px;
    margin-bottom: 16px;
    border-left: 3px solid #a0bbd4;
}

.comment strong {
    color: #1d3a55;
}

.comment span {
    color: #6f8ba5;
    font-size: 0.85rem;
    margin-left: 12px;
}

.comment p {
    margin-top: 8px;
}

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

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

.comment-submit {
    background: #1e3a5a;
    color: white;
    border: none;
    padding: 12px 30px;
    cursor: not-allowed;
    opacity: 0.6;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e2eaf2;
    transition: box-shadow 0.2s;
    border-radius: 10px;
}

.related-card:hover {
    box-shadow: 0 8px 18px rgba(0, 30, 50, 0.08);
}

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

.related-content {
    padding: 14px;
}

.related-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-content h4 a {
    text-decoration: none;
    color: #112b40;
}

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

.author-page-main {
    padding: 40px 0;
}

.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    background: #f8fbfe;
    padding: 40px;
    border: 1px solid #e1eaf2;
}

.author-header-img {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 30, 50, 0.1);
}

.author-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header-info h1 {
    font-size: 2.8rem;
    font-weight: 350;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.author-title {
    font-size: 1.2rem;
    color: #2d577b;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-header-info .author-bio {
    font-size: 1.1rem;
    color: #1e3b50;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.author-social a {
    color: #1d4e7c;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #b9cfec;
    padding: 6px 18px;
    transition: background 0.2s;
}

.author-social a:hover {
    background: #e2ecf9;
}

.author-detailed-bio {
    background: #ffffff;
    padding: 40px 0 20px;
    border-bottom: 1px solid #dae4ee;
}

.author-detailed-bio h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 24px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.author-detailed-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1f3343;
    margin-bottom: 1.5em;
    max-width: 900px;
}

.author-articles {
    margin: 48px 0;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 32px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.article-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.author-article-card {
    background: white;
    border: 1px solid #e6eef7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.author-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -8px rgba(20, 50, 80, 0.15);
}

.author-article-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.author-article-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.author-article-card .card-content {
    padding: 16px;
}

.author-article-card .card-category {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.author-article-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.author-article-card h3 a {
    text-decoration: none;
    color: #112b40;
}

.author-article-card .card-meta {
    font-size: 0.8rem;
    color: #57758e;
}


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

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

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

.footer-logo span {
    font-weight: 300;
    color: #9bb5d4;
}

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

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

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

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

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

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

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

.footer-bottom a {
    color: #8fa2b5;
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #1e3a5a;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    pointer-events: none;
    z-index: 99;
}

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

.back-to-top:hover {
    background: #14324d;
}


@media (max-width: 992px) {

    .featured-grid,
    .card-grid-3,
    .indepth-grid,
    .category-grid,
    .article-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .main-layout {
        flex-direction: column;
    }

    .content-left,
    .content-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

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

    .header-container {
        height: 54px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #d9e2ea;
        box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.05);
    }

    .nav-list.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .featured-grid,
    .card-grid-3,
    .indepth-grid,
    .category-grid,
    .list-grid-mixed,
    .related-grid,
    .article-grid-4col {
        grid-template-columns: 1fr;
    }

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

    .card-horizontal .card-img {
        width: 100%;
    }

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

    .author-mini img {
        display: none;
    }

    .author-mini span,
    .time-info,
    .meta-item {
        font-size: 0.8rem;
    }

    .time-info {
        gap: 0.5rem;
    }

    .share-btn {
        margin-left: 0;
    }

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

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

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

    .author-detailed-bio p {
        font-size: 1rem;
    }
}