/* 资讯模板 - news_minimal 极简主义风格 */
/* 黑白灰配色，单栏居中布局 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
    font-size: 16px;
}

/* 顶部导航栏 */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1f2937;
}

.logo-image {
    max-height: 40px;
    width: auto;
    margin-right: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-field {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 200px;
    font-size: 14px;
    outline: none;
    background-color: #ffffff;
    color: #1f2937;
}

.search-field:focus {
    border-color: #4b5563;
}

.search-submit {
    padding: 8px 20px;
    background-color: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.search-submit:hover {
    background-color: #374151;
}

/* 主导航 */
.main-menu {
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
}

.menu-items {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.menu-item {
    display: inline-block;
}

.menu-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.menu-link:hover {
    color: #1f2937;
    border-bottom-color: #1f2937;
}

/* 面包屑导航 */
.breadcrumb-bar {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}

.breadcrumb-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.breadcrumb-items {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: #9ca3af;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #1f2937;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #4b5563;
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
}

.content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 焦点图区域 */
.featured-area {
    margin-bottom: 50px;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.featured-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.featured-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-text {
    padding: 20px;
}

.featured-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章列表 */
.articles-area {
    margin-bottom: 50px;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1f2937;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-card {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.article-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f3f4f6;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-text {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #4b5563;
}

.article-summary {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #9ca3af;
    flex-wrap: wrap;
}

.meta-time {
    color: #9ca3af;
}

.meta-divider {
    color: #d1d5db;
}

.meta-hits {
    color: #9ca3af;
}

.meta-category {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.meta-category:hover {
    color: #1f2937;
    text-decoration: underline;
}

/* 分页 */
.pagination-area {
    margin-bottom: 50px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 16px;
    background-color: #ffffff;
    color: #4b5563;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.page-link.active {
    background-color: #1f2937;
    color: #ffffff;
    border-color: #1f2937;
}

/* 侧边栏 */
.sidebar-area {
    margin-top: 50px;
}

.sidebar-box {
    margin-bottom: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px;
}

.sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1f2937;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.sidebar-list {
    list-style: none;
}

.sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item.active .sidebar-link {
    color: #1f2937;
    font-weight: 600;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.sidebar-link:hover {
    color: #1f2937;
}

.item-number {
    width: 24px;
    height: 24px;
    background-color: #1f2937;
    color: #ffffff;
    text-align: center;
    line-height: 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.item-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-hits {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
}

/* 标签云 */
.tags-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    padding: 6px 14px;
    background-color: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.tag-link:hover {
    background-color: #1f2937;
    color: #ffffff;
}

/* 内容页 */
.page-title-area {
    background-color: #f9fafb;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.title-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.page-desc {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 15px;
}

.page-count {
    font-size: 14px;
    color: #9ca3af;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

/* 文章正文 */
.article-main {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.article-title-main {
    font-size: 36px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #9ca3af;
    flex-wrap: wrap;
}

.article-featured-image {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content-main {
    font-size: 17px;
    line-height: 1.8;
    color: #1f2937;
    word-wrap: break-word;
}

.article-content-main * {
    font-size: inherit;
    color: inherit;
}

.article-content-main p {
    margin-bottom: 20px;
}

.article-content-main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

.article-content-main h1,
.article-content-main h2,
.article-content-main h3,
.article-content-main h4,
.article-content-main h5,
.article-content-main h6 {
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.article-content-main h1 {
    font-size: 28px;
}

.article-content-main h2 {
    font-size: 26px;
}

.article-content-main h3 {
    font-size: 24px;
}

.article-content-main ul,
.article-content-main ol {
    padding-left: 30px;
    margin-bottom: 20px;
}

.article-content-main li {
    margin-bottom: 10px;
}

.article-content-main a {
    color: #1f2937;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content-main a:hover {
    color: #4b5563;
}

.article-content-main blockquote {
    border-left: 4px solid #1f2937;
    padding: 15px 20px;
    margin: 30px 0;
    background-color: #f9fafb;
    border-radius: 6px;
    color: #4b5563;
    font-style: italic;
}

.article-content-main code {
    background-color: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: "Courier New", monospace;
    font-size: 15px;
    color: #1f2937;
}

.article-content-main pre {
    background-color: #1f2937;
    color: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
}

.article-content-main pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.article-content-main table th,
.article-content-main table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
}

.article-content-main table th {
    background-color: #1f2937;
    color: #ffffff;
    font-weight: 600;
}

.article-tags-main {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.tag-badge {
    padding: 6px 14px;
    background-color: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.tag-badge:hover {
    background-color: #1f2937;
    color: #ffffff;
}

/* 上下篇导航 */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.nav-item {
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.nav-link {
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
    line-height: 1.5;
}

.nav-link:hover {
    color: #4b5563;
}

.nav-next {
    text-align: right;
}

/* 相关文章 */
.related-area {
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.related-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-text {
    padding: 15px;
}

.related-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

.related-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.related-title a:hover {
    color: #4b5563;
}

.related-meta {
    font-size: 12px;
    color: #9ca3af;
}

/* 文章侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-list {
    list-style: none;
}

.info-item {
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.info-value {
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.info-value.highlight {
    color: #1f2937;
    font-size: 28px;
    font-weight: 600;
}

.info-value a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.info-value a:hover {
    color: #4b5563;
    text-decoration: underline;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.tag-small {
    padding: 4px 10px;
    background-color: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.2s;
}

.tag-small:hover {
    background-color: #1f2937;
    color: #ffffff;
}

/* 友情链接区域 */
.links-section {
    background-color: #f9fafb;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #e5e7eb;
}

.links-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.links-items {
    list-style: none;
}

.links-items li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.links-items li:last-child {
    border-bottom: none;
}

.links-items a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.links-items a:hover {
    color: #1f2937;
}

/* 页脚 */
.site-footer {
    background-color: #1f2937;
    color: #ffffff;
    padding: 50px 0 30px;
    margin-top: 50px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-desc {
    color: #9ca3af;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-copy {
    color: #6b7280;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.beian-line {
    margin-bottom: 10px;
}

.beian-line a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
}

.beian-line a:hover {
    color: #ffffff;
}

.footer-note {
    color: #6b7280;
    font-size: 12px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #374151;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .search-field {
        width: 100%;
    }
    
    .menu-items {
        gap: 15px;
    }
    
    .featured-list {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f9fafb;
}

::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* 382746 */

