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

 main {
     flex: 1;
 }

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

 a:hover {
     color: #2c5f8a;
 }

 img {
     max-width: 100%;
     height: auto;
     display: block;
     aspect-ratio: 4/3;
     object-fit: cover;
     background-color: #eef2f6;
 }

 ul,
 li {
     list-style: none;
 }

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

 /* Fixed header with scroll effect */
 .site-header {
     background-color: #ffffff;
     border-bottom: 1px solid #eaeef2;
     position: sticky;
     top: 0;
     z-index: 100;
     transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
 }

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

 .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;
     color: #0a2647;
 }

 .logo span {
     color: #3b6e9c;
     font-weight: 400;
 }

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

 .main-nav a {
     font-weight: 500;
     padding: 0.5rem 0;
     border-bottom: 2px solid transparent;
     transition: border-color 0.2s;
 }

 .main-nav a:hover,
 .main-nav a.active {
     border-bottom-color: #3b6e9c;
     color: #1e2a3a;
 }

 .hamburger {
     display: none;
     font-size: 1.8rem;
     background: none;
     border: none;
     cursor: pointer;
     padding: 0 10px;
     color: #1e2a3a;
 }

 /* Top announcement */
 .top-announcement {
     background-color: #f7f9fc;
     padding: 12px 0;
     border-bottom: 1px solid #dce5ec;
     font-size: 0.95rem;
     text-align: center;
 }

 .top-announcement a {
     font-weight: 600;
     color: #1d4e7c;
     text-decoration: underline;
 }

 /* Sections */
 .category-section {
     margin: 50px 0 30px;
 }

 .section-header {
     display: flex;
     align-items: baseline;
     margin-bottom: 25px;
 }

 .section-title {
     font-size: 1.8rem;
     font-weight: 600;
     letter-spacing: -0.5px;
     position: relative;
     padding-bottom: 8px;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 60px;
     height: 3px;
     background-color: #3b6e9c;
 }

 .view-all {
     font-weight: 500;
     color: #2c5f8a;
 }

 /* Card styles - variety */
 .card {
     background: #fff;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border: 1px solid #edf2f7;
 }

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

 .card-img {
     overflow: hidden;
 }

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

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

 .card-content {
     padding: 16px;
 }

 .card-category {
     display: inline-block;
     font-size: 0.75rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     color: #3b6e9c;
     margin-bottom: 8px;
 }

 .card-title {
     font-size: 1.2rem;
     line-height: 1.4;
     margin-bottom: 10px;
     font-weight: 600;
 }

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

 .card-excerpt {
     color: #4a5b6e;
     font-size: 0.9rem;
     margin-bottom: 15px;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

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

 /* Horizontal cards */
 .horizontal-cards {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 24px;
 }

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

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

 .card-horizontal .card-content {
     flex: 1;
     padding: 12px 16px;
 }

 .card-horizontal .card-title {
     font-size: 1.1rem;
     -webkit-line-clamp: 2;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 /* Vertical cards grid */
 .card-grid.vertical-cards {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 24px;
 }

 .card-vertical .card-title {
     font-size: 1.15rem;
     -webkit-line-clamp: 2;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 /* Mixed layout */
 .mixed-layout {
     display: grid;
     grid-template-columns: 2fr 1fr;
     gap: 24px;
 }

 .card-featured {
     display: flex;
     flex-direction: column;
 }

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

 .card-featured .card-title {
     font-size: 1.4rem;
     -webkit-line-clamp: 2;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .small-cards {
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .card-small {
     display: flex;
     align-items: center;
     gap: 12px;
     border: none;
     box-shadow: none;
     background: #f8fafd;
     border-radius: 6px;
 }

 .card-small .card-img {
     flex: 0 0 70px;
 }

 .card-small .card-content {
     padding: 8px 8px 8px 0;
 }

 .card-small .card-title {
     font-size: 0.95rem;
     margin-bottom: 4px;
     -webkit-line-clamp: 2;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 /* Special Report */
 .special-report {
     margin: 60px 0;
 }

 .report-card {
     display: grid;
     grid-template-columns: 1.2fr 0.9fr;
     gap: 30px;
     background: #fafcff;
     border-radius: 16px;
     overflow: hidden;
     border: 1px solid #e2eaf2;
     padding: 20px;
 }

 .report-img img {
     border-radius: 12px;
 }

 .report-label {
     font-size: 0.8rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: #3b6e9c;
     font-weight: 600;
 }

 .report-title {
     font-size: 2rem;
     line-height: 1.3;
     margin: 12px 0;
 }

 .report-title a {
     color: #0a2647;
 }

 .report-excerpt {
     font-size: 1.1rem;
     color: #2c3e50;
     margin-bottom: 20px;
 }

 .report-meta {
     display: flex;
     gap: 16px;
     color: #556b82;
 }

 /* Hot topics */
 .hot-topics {
     margin: 40px 0 60px;
 }

 .topic-cloud {
     display: flex;
     flex-wrap: wrap;
     gap: 10px 20px;
     justify-content: center;
     padding: 20px 0;
 }

 .topic-item {
     background: #f2f6fb;
     padding: 6px 16px;
     border-radius: 30px;
     color: #1e2a3a;
     font-weight: 500;
     transition: background 0.2s, transform 0.2s;
 }

 .topic-item:hover {
     background: #d4e2f0;
     transform: scale(1.05);
 }

 /* Footer */
 .site-footer {
     background-color: #f2f6f9;
     margin-top: 40px;
 }

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

 .footer-logo {
     font-size: 1.8rem;
     font-weight: 600;
     color: #0a2647;
     margin-bottom: 15px;
 }

 .footer-logo span {
     color: #3b6e9c;
 }

 .footer-col h4 {
     font-size: 1.1rem;
     margin-bottom: 16px;
     color: #1e3a5f;
 }

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

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

 .footer-col a {
     color: #3f556b;
 }

 .footer-bottom {
     border-top: 1px solid #ccdbe9;
     text-align: center;
     padding: 20px 0;
     font-size: 0.9rem;
     color: #4f657c;
 }

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

 .footer-bottom a {
     font-size: 0.9rem;
     color: #4f657c;
 }

 /* Back to top button */
 #backToTop {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 45px;
     height: 45px;
     background: #1e3a5f;
     color: white;
     border: none;
     border-radius: 50%;
     font-size: 1.4rem;
     cursor: pointer;
     display: none;
     align-items: center;
     justify-content: center;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
     transition: background 0.2s;
     z-index: 99;
 }

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

 /* Breadcrumbs (common) */
 .breadcrumb-nav {
     padding: 15px 0;
     font-size: 0.9rem;
 }

 .breadcrumb-list {
     display: flex;
     flex-wrap: wrap;
     list-style: none;
     padding: 0;
     margin: 0;
 }

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

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

 .breadcrumb-list a {
     color: #2c5f8a;
 }

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

 /* Category page specific */
 .category-header {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
     margin: 20px 0 30px;
 }

 .filter-bar {
     display: flex;
     align-items: center;
     gap: 15px;
     flex-wrap: wrap;
 }

 .filter-label {
     font-weight: 500;
     color: #2c3e50;
 }

 .filter-options {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .filter-chip {
     padding: 4px 12px;
     background: #eef2f6;
     border-radius: 20px;
     font-size: 0.85rem;
     color: #1e2a3a;
     border: 1px solid transparent;
     transition: background 0.2s;
 }

 .filter-chip.active {
     background: #1e3a5f;
     color: white;
 }

 .filter-chip:hover {
     background: #d4e0ea;
 }

 /* Two column layout */
 .two-col-layout {
     display: grid;
     grid-template-columns: 70% 28%;
     gap: 40px;
     margin: 30px 0;
 }

 /* Main content list cards */
 .list-card {
     display: flex;
     gap: 20px;
     padding: 20px 0;
     border-bottom: 1px solid #e2eaf2;
 }

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

 .list-card-img {
     flex: 0 0 180px;
 }

 .list-card-img img {
     border-radius: 8px;
     width: 100%;
 }

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

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

 .list-card-title a {
     color: #0a2647;
 }

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

 .list-card-meta {
     display: flex;
     gap: 16px;
     font-size: 0.85rem;
     color: #6f8ba0;
 }

 /* Pagination */
 .pagination {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
     margin: 40px 0 20px;
     flex-wrap: wrap;
 }

 .page-link {
     padding: 8px 14px;
     border: 1px solid #cddbe9;
     border-radius: 4px;
     background: white;
     color: #1e2a3a;
     transition: background 0.2s;
 }

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

 .page-link:hover {
     background: #e2ecf5;
 }

 .page-dots {
     padding: 8px 0;
     color: #7f95b0;
 }

 /* Sidebar (used in list and detail pages) */
 .sidebar {
     display: flex;
     flex-direction: column;
     gap: 30px;
 }

 .sidebar-card {
     background: #f7fafd;
     padding: 20px;
     border-radius: 8px;
 }

 .sidebar-title {
     font-size: 1.2rem;
     margin-bottom: 15px;
     border-bottom: 1px solid #cbdae7;
     padding-bottom: 8px;
 }

 .author-card {
     text-align: center;
 }

 .author-avatar {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     overflow: hidden;
     margin: 0 auto 15px;
 }

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

 .author-name {
     font-size: 1.2rem;
     margin-bottom: 5px;
 }

 .author-bio {
     font-size: 0.9rem;
     color: #4d637a;
 }

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

 .sidebar-list li {
     display: flex;
     justify-content: space-between;
     padding: 8px 0;
     border-bottom: 1px dashed #cbdae7;
 }

 .sidebar-list a {
     font-weight: 500;
     flex: 1;
 }

 .list-meta,
 .list-date {
     font-size: 0.8rem;
     color: #778fa7;
     white-space: nowrap;
     margin-left: 10px;
 }

 .sidebar-cats {
     list-style: none;
 }

 .sidebar-cats li {
     display: flex;
     justify-content: space-between;
     padding: 8px 0;
     border-bottom: 1px dashed #cbdae7;
 }

 .cat-count {
     color: #6d86a0;
     font-size: 0.85rem;
 }

 /* Article / Detail page */
 .full-article {
     max-width: 820px;
     margin: 0 auto;
 }

 .article-header {
     margin: 20px 0 20px;
 }

 .article-header h1 {
     font-size: 2.5rem;
     line-height: 1.2;
     margin-bottom: 15px;
 }


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

 .article-meta-top {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 20px;
     color: #4f6f8f;
     font-size: 0.9rem;
     margin-bottom: 10px;
 }

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

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

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

 .article-featured-img figcaption {
     font-size: 0.85rem;
     color: #5a7087;
     margin-top: 8px;
 }

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

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

 .article-body p {
     margin-bottom: 1.6rem;
    
 }

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

 .article-footer-meta {
     display: flex;
     gap: 10px;
     margin: 30px 0;
 }

 .article-footer-meta .card-category {
     font-size: 0.8rem;
     background: #eef2f6;
     padding: 4px 12px;
     border-radius: 20px;
     color: #1e3a5f;
     margin: 0;
 }

 .author-bio {
     display: flex;
     gap: 20px;
     background: #f5f9ff;
     padding: 24px;
     border-radius: 12px;
     margin: 30px 0;
 }

 .author-info {
     flex: 1;
 }

 .author-bio .author-avatar {
     width: 70px;
     height: 70px;
     border-radius: 50%;
     overflow: hidden;
     margin: 0;
 }

 .author-bio .author-info h4 {
     font-size: 1.2rem;
     margin-bottom: 5px;
 }

 .author-bio .author-info p {
     font-size: 0.9rem;
     color: #2c3e50;
 }

 /* Share buttons */
 .share-buttons {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 12px;
     padding: 25px 0;
     border-top: 1px solid #e2eaf2;
     border-bottom: 1px solid #e2eaf2;
     margin: 30px 0;
 }

 .share-btn {
     background: #eef2f6;
     border: none;
     padding: 8px 18px;
     border-radius: 30px;
     font-size: 0.9rem;
     cursor: pointer;
     transition: background 0.2s;
     color: #1e2a3a;
 }

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

 /* Comments */
 .comments-section {
     margin: 40px 0;
 }

 .comment-list {
     margin: 20px 0;
 }

 .comment {
     display: flex;
     gap: 15px;
     padding: 15px 0;
     border-bottom: 1px solid #e0eaf3;
 }

 .comment-avatar {
     width: 45px;
     height: 45px;
     background: #1e3a5f;
     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     font-weight: bold;
     text-transform: uppercase;
     flex-shrink: 0;
 }

 .comment-body {
     flex: 1;
 }

 .comment-author {
     font-weight: 600;
     margin-right: 12px;
 }

 .comment-date {
     font-size: 0.8rem;
     color: #74899f;
 }

 .comment-form textarea,
 .comment-form input {
     width: 100%;
     padding: 12px;
     border: 1px solid #cbd5e1;
     border-radius: 6px;
     margin: 10px 0;
 }

 .comment-form button {
     background: #1e3a5f;
     color: white;
     border: none;
     padding: 12px 20px;
     border-radius: 6px;
     cursor: pointer;
 }

 .form-note {
     font-size: 0.8rem;
     color: #7b8b9f;
     margin-top: 8px;
 }

 /* Related articles */
 .related-articles {
     margin: 40px 0;
 }

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

 .related-card {
     border-radius: 8px;
     overflow: hidden;
     background: #f8fbfe;
     border: 1px solid #d9e4ee;
     padding: 10px;
 }

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

 .related-card h4 {
     font-size: 1.1rem;
     margin: 10px 0 5px;
     line-height: 1.4;
     -webkit-line-clamp: 2;
     display: -webkit-box;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .related-meta {
     font-size: 0.8rem;
     color: #657e9a;
 }

 /* Author page specific */
 .author-profile-full {
     max-width: 1000px;
     margin: 0 auto 40px;
 }

 .author-header-card {
     display: flex;
     gap: 40px;
     background: #f5f9ff;
     border-radius: 20px;
     padding: 40px;
     margin: 30px 0 40px;
 }

 .author-header-avatar {
     flex-shrink: 0;
     width: 180px;
     height: 180px;
     border-radius: 50%;
     overflow: hidden;
 }

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

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

 .author-header-info .author-name {
     font-size: 2.2rem;
     margin-bottom: 5px;
 }

 .author-title {
     font-size: 1.1rem;
     color: #3b6e9c;
     margin-bottom: 15px;
 }

 .author-short-bio {
     font-size: 1rem;
     color: #2c3e50;
     margin-bottom: 20px;
 }

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

 .social-link {
     background: #e2ecf5;
     padding: 6px 16px;
     border-radius: 30px;
     font-size: 0.9rem;
     color: #1e3a5f;
     transition: background 0.2s;
 }

 .social-link:hover {
     background: #cbdae7;
 }

 .author-detailed-bio {
     background: white;
     padding: 30px;
     border-radius: 16px;
     border: 1px solid #e2eaf2;
     margin: 30px 0;
 }

 .author-detailed-bio h2 {
     font-size: 1.6rem;
     margin-bottom: 20px;
 }

 .author-detailed-bio p {
     margin-bottom: 1.2rem;
     font-size: 1rem;
     color: #1e2a3a;
 }

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

 .author-articles h2 {
     font-size: 1.8rem;
     margin-bottom: 25px;
 }

 .view-all-link {
     text-align: center;
     margin: 30px 0;
 }

 .view-all-link .view-all {
     font-weight: 600;
     font-size: 1rem;
 }

 /* Responsive */
 @media (max-width: 900px) {
     .main-nav {
         display: none;
         position: absolute;
         top: 54px;
         left: 0;
         width: 100%;
         background: white;
         border-bottom: 1px solid #ddd;
         box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
     }

     .main-nav.active {
         display: block;
     }

     .main-nav .nav-list {
         flex-direction: column;
         gap: 0;
         padding: 15px 20px;
     }

     .main-nav li {
         padding: 12px 0;
         border-bottom: 1px solid #e2eaf2;
         
     }

     .hamburger {
         display: block;
     }

     .horizontal-cards,
     .card-grid.vertical-cards,
     .mixed-layout,
     .report-card,
     .two-col-layout,
     .footer-grid,
     .related-grid {
         grid-template-columns: 100%;
     }

     .report-card {
         padding: 0;
     }

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

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

     .two-col-layout {
         gap: 20px;
     }

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

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

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

     .header-container {
         height: 54px;
     }

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

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

     .list-card-img {
         flex: auto;
     }

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

     .author-header-avatar {
         width: 130px;
         height: 130px;
     }

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