﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1e1e1e;
    background: #fff;
}

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

ul,
li {
    list-style: none;
}

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

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


.site-header {
    background: #fff;

    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

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

.logo a {
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #1e1e1e;
    letter-spacing: -0.02em;
}

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

.nav-list a {
    text-decoration: none;
    color: #3a3a3a;
    font-weight: 500;
    transition: color 0.2s;
}

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

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


.breaking-bar {
    background: #f7f4ed;
    padding: 10px 0;
    border-bottom: 1px solid #e2dcd0;
    font-size: 0.95rem;
}

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

.breaking-text {
    font-weight: 500;
}


.section {
    padding: 48px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0b5e7c;
    margin-top: 8px;
}


.grid {
    display: grid;
    gap: 30px;
}

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

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

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

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.card-badge {
    display: inline-block;
    background: #eaeef2;
    color: #0b5e7c;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 30px;
    margin: 16px 0 0 16px;
}

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

.card-title a {
    text-decoration: none;
    color: #111;
}

.card-title a:hover {
    color: #0b5e7c;
}

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

.card-meta {
    margin: auto 16px 16px;
    font-size: 0.85rem;
    color: #6f6f6f;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.card-meta span {
    font-weight: 500;
    color: #1e1e1e;
}


.card-horizontal {
    flex-direction: row;
    align-items: center;
}

.card-horizontal .card-img {
    width: 100%;
    height: 100%;
    flex: 0 0 40%;
    aspect-ratio: 4/3;
    margin: 0;
}

.card-horizontal .card-content {
    width: 60%;
    padding: 20px;
}

.card-horizontal .card-badge {
    margin: 0 0 12px 0;
}

.card-horizontal .card-title {
    margin: 0 0 8px 0;
}

.card-horizontal .card-excerpt {
    margin: 0 0 12px 0;
}

.card-horizontal .card-meta {
    margin: 0;
    border: none;
    padding: 0;
}

.card-pick {
    border: 1px solid #eaeaea;
    background: white;
}

.card-pick .card-badge {
    background: #d5e5d5;
    color: #2b5e2b;
}


.topic-card {
    background: #f5f5f5;
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.topic-card:hover {
    background: #e4eef5;
    transform: scale(1.02);
}

.topic-emoji {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
}

.topic-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

.topic-stats {
    color: #6f6f6f;
    font-size: 0.9rem;
}


.site-footer {
    background: #1a1e24;
    color: #ddd;
    padding: 48px 0 0;
}

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

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

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

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

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

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

.brand-col p {
    margin-top: 16px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    color: #888;
}

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

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

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

.back-to-top:hover {
    opacity: 1;
}


.content-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.main-content {
    flex: 0 0 70%;
}

.sidebar {
    flex: 0 0 30%;
}

.widget {
    background: #fafafa;
    border-radius: 24px;
    padding: 28px 24px;
    margin-bottom: 32px;
    border: 1px solid #f0f0f0;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 12px;
}

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

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

.author-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio {
    color: #4a4a4a;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 12px 0;
}

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

.post-list li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #ddd;
}

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

.post-list a {
    text-decoration: none;
    font-weight: 500;
    color: #1e1e1e;
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.post-list a:hover {
    color: #0b5e7c;
}

.post-list .meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

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

.category-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

.breadcrumb {
    margin: 24px auto 16px;
}

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

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

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

.breadcrumb a {
    text-decoration: none;
    color: #0b5e7c;
}

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

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

.pagination a {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    background: #0b5e7c;
    color: white;
    border-color: #0b5e7c;
}


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

.tag {
    background: #eaeef2;
    color: #1e1e1e;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 1rem;
    cursor: default;
    min-width: 180px;
    text-align: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border-radius: 12px;
    margin-top: 4px;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.post-header {
    margin-bottom: 32px;
}

.post-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.post-subhead {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 400;
}

.post-meta-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    color: #6f6f6f;
    font-size: 0.95rem;
}

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

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

.post-meta-detail .date,
.post-meta-detail .views {
    display: flex;
    align-items: center;
    gap: 4px;
}

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

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

.post-body p {
    margin-bottom: 1.8em;
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    line-height: 1.7;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 16px;
}

.post-categories {
    margin: 40px 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-link {
    background: #eaeef2;
    color: #0b5e7c;
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.author-detailed {
    background: #f9f9f9;
    border-radius: 24px;
    padding: 32px;
    margin: 40px 0 40px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid #f0f0f0;
}

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

.author-detailed h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.author-detailed p {
    color: #3a3a3a;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.author-detailed .author-social a {
    text-decoration: none;
    color: #0b5e7c;
    margin-right: 16px;
    font-weight: 500;
}

.share-block {
    margin: 40px 0 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

.share-btn {
    background: #f0f0f0;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.share-btn:hover {
    background: #0b5e7c;
    color: white;
}

.comments-static {
    margin: 48px 0;
}

.comment-item {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.comment-author-sm {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.comment-author-sm img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

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

.comment-date {
    color: #888;
    font-size: 0.85rem;
    margin-left: auto;
}

.comment-text {
    font-size: 0.985rem;
    line-height: 1.6;
    color: #2a2a2a;
}

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

.related-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

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

.related-card .related-title {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card .related-title a {
    text-decoration: none;
    color: #1e1e1e;
}

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

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

.author-header {
    text-align: center;
    margin-bottom: 48px;
}

.author-header .author-avatar-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin:0 auto 24px;
    border: 4px solid #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.author-header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.author-header .author-title {
    font-size: 1.3rem;
    color: #0b5e7c;
    font-weight: 500;
    margin-bottom: 20px;
}

.author-bio-summary {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #3a3a3a;
    line-height: 1.6;
}

.author-details {
    background: #f9f9f9;
    border-radius: 32px;
    padding: 48px;
    margin: 40px 0;
    border: 1px solid #f0f0f0;
}

.author-details h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.author-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
}

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

.author-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 32px 0 16px;
}

.author-social-links a {
    background: #eaeef2;
    color: #0b5e7c;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.author-social-links a:hover {
    background: #0b5e7c;
    color: #fff;
}

.featured-works {
    margin-top: 56px;
}

.featured-works h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
}

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

.work-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
}

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

.work-card .work-content {
    padding: 20px 18px 18px;
}

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

.work-card .work-title a {
    text-decoration: none;
    color: #1e1e1e;
}

.work-card .work-meta {
    font-size: 0.85rem;
    color: #888;
}


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

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

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

    .main-content,
    .sidebar {
        flex: 0 0 100%;
    }

    .breadcrumb ol {
        flex-wrap: wrap;
        border-radius: 24px;
    }

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

@media (max-width: 640px) {

    .post-meta-detail {
        font-size: 0.75rem;
        gap: 0.5rem;
    }

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

    .site-header {
        position: relative;
        padding: 0;
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

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

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

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

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

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

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

    .post-header h1 {
        font-size: 1.4rem;

    }

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

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

    .post-meta-detail {
        gap: 16px;
    }

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

    .author-details {
        padding: 32px 20px;
    }

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

    .author-social-links {
        flex-direction: column;
        align-items: center;
    }

    .author-social-links a {
        width: 100%;
        text-align: center;
    }
}