/* 资讯模板 - aisc18 三栏式扁平化深紫主题 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
    font-size: 16px;
}

.container, .header-container, .breadcrumb-container, .content-wrapper, .footer-container, .links-container, .page-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航?*/
.site-header {
    background-color: #673ab7;
    border-bottom: 3px solid #512da8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.logo-img {
    max-height: 45px;
    width: auto;
    margin-right: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    padding: 10px 16px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    width: 280px;
    font-size: 14px;
    outline: none;
    background-color: #ffffff;
}

.search-input:focus {
    border-color: #512da8;
    box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.2);
}

.search-btn {
    padding: 10px 24px;
    background-color: #512da8;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #512da8;
}

/* 主导?*/
.main-nav {
    background-color: #512da8;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #512da8;
}

/* 面包屑导?*/
.breadcrumb-nav {
    background-color: #ecf0f1;
    padding: 12px 0;
    border-bottom: 1px solid #d5dbdb;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #673ab7;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: #7f8c8d;
}

.breadcrumb-item.active .breadcrumb-sep {
    color: #34495e;
}

.breadcrumb-item.active span {
    color: #34495e;
}

/* 三栏布局 */
.three-column {
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 20px;
    padding: 20px 0;
}

.content-main {
    min-width: 0;
}

/* 侧边?*/
.sidebar-left,
.sidebar-right {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #673ab7;
}

.widget-list {
    list-style: none;
}

.widget-item {
    margin-bottom: 12px;
}

.widget-item:last-child {
    margin-bottom: 0;
}

.widget-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #34495e;
    transition: color 0.3s;
    padding: 8px;
    border-radius: 4px;
}

.widget-link:hover {
    color: #673ab7;
    background-color: #f8f9fa;
}

.widget-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.widget-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.widget-time {
    font-size: 12px;
    color: #95a5a6;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 12px;
    background-color: #ecf0f1;
    color: #34495e;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-item:hover {
    background-color: #673ab7;
    color: #ffffff;
}

/* 页面标题 */
.page-header-section {
    background-color: #ffffff;
    padding: 30px 0;
    border-bottom: 2px solid #ecf0f1;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.page-desc {
    color: #7f8c8d;
    margin-bottom: 8px;
}

.page-count {
    color: #95a5a6;
    font-size: 14px;
}

/* 焦点文章 */
.featured-section {
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.featured-card {
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.featured-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #ecf0f1;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 20px;
}

.featured-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-desc {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #95a5a6;
}

.meta-divider {
    margin: 0 8px;
}

/* 文章列表 */
.articles-section {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #ecf0f1;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-item:hover .article-thumb img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #673ab7;
}

.article-desc {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #95a5a6;
}

.meta-category {
    color: #673ab7;
    text-decoration: none;
}

.meta-category:hover {
    text-decoration: underline;
}

/* 文章详情?*/
.article-detail {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.article-title-main {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta-main {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
}

.article-featured-image {
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 30px;
}

.article-body * {
    font-size: inherit !important;
    color: inherit !important;
}

.article-body p,
.article-body div,
.article-body span,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6,
.article-body li,
.article-body a {
    font-size: 16px !important;
    color: #34495e !important;
    line-height: 1.8 !important;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.article-footer {
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.article-tags {
    margin-bottom: 20px;
    font-size: 14px;
}

.tags-label {
    color: #7f8c8d;
    margin-right: 8px;
}

.tag-link {
    color: #673ab7;
    text-decoration: none;
    padding: 4px 10px;
    background-color: #ecf0f1;
    border-radius: 4px;
    margin-right: 8px;
}

.tag-link:hover {
    background-color: #673ab7;
    color: #ffffff;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.nav-prev,
.nav-next {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 5px;
}

.nav-link {
    color: #673ab7;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.nav-link:hover {
    text-decoration: underline;
}

/* 相关文章 */
.related-section {
    margin-top: 30px;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-4px);
}

.related-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: #ecf0f1;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-title-item {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-title-item a {
    color: #2c3e50;
    text-decoration: none;
}

.related-title-item a:hover {
    color: #673ab7;
}

.related-meta {
    font-size: 12px;
    color: #95a5a6;
}

/* 分页 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.pagination-link {
    padding: 8px 16px;
    background-color: #ecf0f1;
    color: #34495e;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination-link:hover {
    background-color: #673ab7;
    color: #ffffff;
}

/* 友情链接 */
.links-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #ecf0f1;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.links-col {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 10px;
}

.links-list li:last-child {
    margin-bottom: 0;
}

.links-list a {
    color: #34495e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 6px 0;
}

.links-list a:hover {
    color: #673ab7;
}

/* 页脚 */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-desc {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-copy {
    color: #95a5a6;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #673ab7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.beian-text {
    margin-bottom: 8px;
}

.beian-text a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 13px;
}

.beian-text a:hover {
    color: #673ab7;
}

.copyright-text {
    color: #7f8c8d;
    font-size: 12px;
}

/* 响应式设?*/
@media (max-width: 1200px) {
    .three-column {
        grid-template-columns: 200px 1fr 200px;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .three-column {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left,
    .sidebar-right {
        order: 2;
    }
    
    .content-main {
        order: 1;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-input {
        width: 100%;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-thumb {
        width: 100%;
        height: 200px;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* 随机注释改变MD5 */
/* 425804 */


