﻿:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --color-bg: #ffffff;
    --color-text: #1e1e1e;
    --color-soft-text: #4a4a4a;
    --color-border: #e8eef0;
    --color-accent: #0a4b7a;
    --color-accent-light: #eef5f9;
    --color-card-bg: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.04), 0 6px 12px rgba(0, 0, 0, 0.02);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

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 20px;
    width: 100%;
}

.site-header {
    background: white;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    border-bottom-color: transparent;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f2a44;
}

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

.main-nav a {
    font-weight: 500;
    color: #2c3e50;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: var(--color-accent);
    color: #0a4b7a;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1e1e1e;
    transition: 0.2s;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.top-bulletin {
    margin-top: 30px;
    margin-bottom: 30px;
}

.bulletin-card {
    background: linear-gradient(145deg, #fafbfc, #f2f6f9);
    border-radius: var(--radius);
    padding: 28px 32px;
    border-left: 6px solid #b33b3b;
    box-shadow: var(--shadow-sm);
}

.bulletin-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #b33b3b;
}

.bulletin-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 10px 0 10px;
    line-height: 1.3;
}

.bulletin-excerpt {
    font-size: 1.15rem;
    color: #3a4a5a;
    max-width: 85%;
}

.read-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #0a4b7a;
    border-bottom: 2px solid transparent;
}

.read-link:hover {
    border-bottom-color: #0a4b7a;
}

.post-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f4f7;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

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

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

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

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

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0a4b7a;
    background: #e3f0fa;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

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

.card-excerpt {
    color: var(--color-soft-text);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.card-meta {
    font-size: 0.85rem;
    color: #6f7d8c;
    display: flex;
    gap: 16px;
    align-items: center;
}

.card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 5px;
}

.card-horizontal .card-img {
    aspect-ratio: 4/3;
    height: 100%;
}

.card-horizontal-reverse {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 5px;
}

.card-horizontal-reverse .card-img {
    order: 2;
}

.recommend-grid {
    margin-top: 3rem;
}

.section-grid,
.section-feature,
.section-topics {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 4px solid #dce5eb;
    padding-bottom: 10px;
}

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

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

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.feature-card:hover {
    box-shadow: var(--shadow-hover);
}

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

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

.feature-content {
    padding: 24px;
}

.feature-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #b33b3b;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-content h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 12px 0 10px;
    line-height: 1.3;
}

.feature-content .desc {
    color: #3f4a5a;
    margin-bottom: 0;
}

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

.topic-item {
    background: #f7fafc;
    border-radius: 40px;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid #e2ecf2;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topic-item:hover {
    background: #0a4b7a;
    color: white;
    border-color: #0a4b7a;
}

.topic-emoji {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.topic-name {
    font-weight: 600;
}

.topic-count {
    font-size: 0.8rem;
    color: #5b6f80;
}

.topic-item:hover .topic-count {
    color: #e0ecf5;
}

.custom-select-static {
    display: inline-block;
    position: relative;
}

.static-select {
    appearance: none;
    background-color: white;
    border: 1px solid #d0dae0;
    border-radius: 30px;
    padding: 10px 36px 10px 18px;
    font-size: 0.9rem;
    color: #1e1e1e;
    cursor: default;
    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='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.static-select:focus {
    outline: none;
    border-color: #0a4b7a;
}

.static-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.page-item {
    padding: 8px 14px;
    border-radius: 30px;
    background: white;
    border: 1px solid #dee7ed;
    font-weight: 500;
    color: #2e4755;
    transition: 0.2s;
}

.page-item.active {
    background: #0a4b7a;
    color: white;
    border-color: #0a4b7a;
}

.page-item:hover:not(.active) {
    background: #f2f8fd;
    border-color: #9fb8c5;
}

.sidebar {
    width: 100%;
}

.author-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

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

.author-byline .author-name {
    font-weight: 600;
    color: #0b1c2f;
    font-size: 1rem;
    margin: 0;
}

.author-widget .author-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
    margin-top: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.author-widget .author-header::before {
    content: none;
}

.author-widget .author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.author-widget .author-name-title h3 {
    font-size: 1.2rem;
    margin: 0 0 0.2rem;
    border: none;
    padding: 0;
    color: #333;
}

.author-name-title p {
    font-size: 0.9rem;
    color: #6b7f94;
}

.author-widget .author-bio {
    font-size: 0.95rem;
    color: #34495e;
    line-height: 1.5;
    margin: 0;
}

.sidebar-widget {
    background: #fafcfd;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #eef3f6;
    transition: 0.2s;
}

.sidebar-widget:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
    border-color: #d0dfe6;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #d6e2ea;
    padding-bottom: 10px;
    position: relative;
}

.sidebar-widget h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #0a4b7a;
}

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

.static-category-list li {
    margin-bottom: 12px;
}

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

.tag-item {
    background: white;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid #d3dfe6;
    font-size: 0.9rem;
    transition: 0.2s;
}

.tag-item:hover {
    background: #e2ecf2;
    border-color: #9fb0bb;
}

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

.related-list li,
.recent-list li {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f5f8;
}

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

.related-list a,
.recent-list a {
    font-weight: 600;
    color: #1e2f3b;
    display: block;
    font-size: 1.05rem;
    line-height: 1.5;
    transition: color 0.2s;
}

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

.related-meta,
.recent-meta {
    font-size: 0.8rem;
    color: #6b7f8b;
    margin-top: 6px;
    display: flex;
    gap: 16px;
}

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

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.category-list a {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.2s;
}

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

.category-count {
    background: #eaf0f4;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #2f4a5e;
    font-weight: 600;
}

.list-header {
    margin: 30px 0 30px;
}

.list-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.listing-grid {
    display: grid;
    grid-template-columns: 67% 30%;
    gap: 50px;
}

.article-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.list-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f6;
    overflow: hidden;
    transition: all 0.25s;
    margin-bottom: 24px;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.04);
    border-color: #cddbe3;
}

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

.list-card .card-content {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-card .card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.list-card .card-excerpt {
    -webkit-line-clamp: 3;
    margin-bottom: 16px;
}

.read-more-link {
    margin-top: 12px;
    font-weight: 600;
    color: #0a4b7a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-link:hover {
    text-decoration: underline;
}

.no-image-card .card-content {
    padding-left: 0;
}

.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid #e2ecf2;
}

.pagination {
    display: flex;
    gap: 8px;
}

.pagination-nav {
    display: flex;
    gap: 12px;
}

.pagination-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 40px;
    background: white;
    border: 1px solid #d0dae0;
    font-weight: 500;
    transition: 0.2s;
}



.breadcrumb-area {
    margin: 20px 0 30px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f7fafc;
    border-radius: 50px;
    border: 1px solid #e2ecf2;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #0a4b7a;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #052c47;
    text-decoration: underline;
}

.breadcrumb span.separator {
    color: #8b9aa8;
    font-weight: 300;
}

.breadcrumb .current {
    color: #2c3e50;
    font-weight: 600;
}

.article-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    margin-top: 30px;
}

.article-main {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.01);
    border: 1px solid #f0f5f8;
}

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

.article-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #0a2a3b;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 20px 0 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e4ecf0;
    color: #546e7a;
    font-size: 0.95rem;
}

.article-meta time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.updated-badge {
    background: #eaf0f4;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c5f73;
}

.article-feature-img {
    margin-bottom: 30px;
}

.article-feature-img figcaption {
    margin-top: 12px;
    color: #4f6978;
    font-size: 0.9rem;
    padding-left: 8px;
}

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

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 20px;
}

.category-pill {
    background: #ecf3f7;
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a4b7a;
    transition: 0.2s;
    border: 1px solid transparent;
}

.category-pill:hover {
    background: #0a4b7a;
    color: white;
    border-color: #0a4b7a;
}

.author-card {
    display: flex;
    gap: 20px;
    margin: 40px 0 30px;
    padding: 28px;
    background: #f8fbfd;
    border-radius: 20px;
    border: 1px solid #e7f0f4;
    transition: 0.2s;
}

.author-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.02);
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #d0dce3;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.author-info {
    flex: 1;
}

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

.author-title {
    font-size: 0.9rem;
    color: #0a4b7a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.author-bio {
    color: #3f5662;
    line-height: 1.6;
    font-size: 0.98rem;
}

.share-article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 0 15px;
    border-top: 1px solid #e2ecf2;
    border-bottom: 1px solid #e2ecf2;
    margin-bottom: 30px;
}

.share-label {
    font-weight: 600;
    color: #1e3b4a;
    font-size: 1rem;
}

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

.share-btn {
    background: #f2f8fd;
    border: 1px solid #d2e0e8;
    border-radius: 40px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e3b4a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    cursor: pointer;
}

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

.comments-area {
    margin-top: 50px;
    background: #fafdfe;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e7f0f4;
}

.comments-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #dee9ef;
}

.comment-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #b9ccd6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.comment-body {
    flex: 1;
}

.comment-author {
    font-weight: 700;
    color: #0a2a3b;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.8rem;
    color: #6e8996;
    margin-bottom: 10px;
}

.comment-text {
    color: #2e4a5a;
    line-height: 1.6;
}

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

.comment-form-static textarea {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #ccdbe3;
    padding: 18px;
    font-family: inherit;
    background: white;
    resize: vertical;
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.comment-form-footer input {
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid #ccdbe3;
    background: white;
    width: 280px;
}

.static-btn {
    background: #0a4b7a;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
    cursor: default;

}

.static-btn:hover {
    background: #052f4a;
}

.form-note {
    font-size: 0.8rem;
    color: #6a828e;
    margin-top: 16px;
}

.related-posts {
    margin-top: 50px;
}

.related-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    border-bottom: 3px solid #eaf0f4;
    padding-bottom: 14px;
}

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

.related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef3f6;
    transition: 0.25s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.04);
    border-color: #cbdae2;
}

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

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

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

.related-content {
    padding: 18px 18px 22px;
}

.related-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-content h4 a {
    color: #1a2e3b;
    transition: color 0.2s;
}

.related-content h4 a:hover {
    color: #0a4b7a;
}

.related-meta {
    font-size: 0.8rem;
    color: #6c828e;
    display: flex;
    gap: 16px;
}

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

.author-hero-card {
    background: white;
    border-radius: 32px;
    padding: 48px 48px 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f6;
    margin-bottom: 40px;
    transition: 0.2s;
}

.author-hero-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border-color: #d4e0e6;
}

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

.author-header-avatar {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background: #d0dce3;
}

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

.author-header-info {
    flex: 1;
}

.author-header-name {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0a2a3b;
    line-height: 1.1;
    margin-bottom: 10px;
}

.author-header-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #0a4b7a;
    margin-bottom: 16px;
    border-bottom: 3px solid #eef5f9;
    display: inline-block;
    padding-bottom: 8px;
}

.author-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #4f6978;
    font-size: 1rem;
}

.author-header-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-bio-card {
    background: #fafdff;
    border-radius: 24px;
    padding: 36px 40px;
    margin: 40px 0 32px;
    border: 1px solid #e7f0f4;
    border-left-width: 6px;
    transition: 0.2s;
}

.author-bio-card:hover {
    background: white;
    border-left-color: #b33b3b;
}

.author-bio-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a2a3b;
}

.author-bio-content {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #2c4452;
}

.author-bio-content p {
    margin-bottom: 20px;
}

.author-bio-content strong {
    color: #0a4b7a;
}

.author-detail-body {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0 30px;
    border: 1px solid #ecf3f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.01);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 3px solid #eaf0f4;
    position: relative;
}

.detail-section h2:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 70px;
    height: 3px;
    background: #0a4b7a;
    border-radius: 3px;
}

.detail-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 28px 0 16px;
    color: #1a3845;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f5f8;
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: #2c4e5e;
}

.detail-section li strong {
    min-width: 110px;
    color: #0a3a4f;
}

.award-badge {
    display: inline-block;
    background: #e9f0f4;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0a4b7a;
    margin-right: 12px;
}

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

.section-title-author {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    border-bottom: 4px solid #eef5f9;
    padding-bottom: 16px;
}

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

.author-contact {
    background: #f5fafc;
    border-radius: 24px;
    padding: 32px 40px;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e1ecf1;
}

.author-email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.author-email a {
    color: #0a4b7a;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: 0.2s;
}

.author-email a:hover {
    text-decoration-color: #0a4b7a;
}

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

.social-icon {
    font-size: 1.6rem;
    color: #2c5e70;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #0a4b7a;
}

.site-footer {
    background: #162b36;
    color: #e4edf2;
    padding: 40px 0 40px;
    margin-top: 60px;
}

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

.site-footer p a {
    color: #e4edf2;
}

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

.footer-brand .footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a,
.footer-contact a {
    color: #bdd3db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.social-links a {
    color: #bdd3db;
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

.copyright {
    color: #9ab3bd;
    font-size: 0.9rem;
    margin-top: 20px;
}

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

.back-to-top.show {
    display: block;
}

.back-to-top:hover {
    background: #0a4b7a;
    transform: scale(1.05);
}

.category-title {
    margin-bottom: 20px;
}

@media (max-width: 1024px) {

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

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

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

    .listing-grid,
    .article-detail-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .article-detail-grid {
        grid-template-columns: 100%;
    }

    .share-article,
    .share-buttons {
        flex-wrap: wrap;
    }

    .author-mini-avatar {
        display: none;
    }

    .article-meta {
        gap: 0.5rem;
    }

    .article-meta {
        font-size: 0.7rem;
    }

    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .recommend-grid {
        margin-top: 1rem;
    }

    .feature-card {
        grid-template-columns: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .list-card {
        grid-template-columns: 100%;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .author-header-name {
        font-size: 1.5rem;
    }

    .author-hero-card {
        padding: 20px;
    }

    .author-bio-title {
        font-size: 1.2rem;
    }

    .hamburger-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        border-bottom: 1px solid #dee7ed;
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.02);
        display: none;
    }

    .main-nav.active {
        max-height: 360px;
        padding: 20px 20px;
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .card-grid,
    .card-grid-6 {
        grid-template-columns: 1fr;
    }

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

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

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

    .list-card .card-img {
        flex: auto;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }

    .list-card .card-content {
        padding: 22px;
    }

    .card-horizontal,
    .card-horizontal-reverse {
        grid-template-columns: 1fr;
    }

    .bulletin-title {
        font-size: 1.5rem;
    }

    .article-main {
        padding: 24px;
    }

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

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

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

    .author-header-info {
        text-align: center;
    }

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

    .author-contact {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .pagination-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}