/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.logo span {
    color: #10b981;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2563eb;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

article {
    flex: 2;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

/* 文章头部 */
.article-header {
    margin-bottom: 25px;
}

.article-header h1 {
    font-size: 32px;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.meta {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.meta i {
    margin-right: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: #e5e7eb;
    color: #4b5563;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* 文章内容 */
.article-content {
    color: #374151;
    line-height: 1.8;
}

@media (max-width: 900px) {
.article-content img{
    width: 100%;
}
}

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

.article-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #1f2937;
}

.article-content h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #1f2937;
}

.article-image {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 8px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-style: italic;
}

/* 引用样式 */
blockquote {
    border-left: 4px solid #10b981;
    padding-left: 20px;
    margin: 25px 0;
    color: #4b5563;
    font-style: italic;
}

/* 侧边栏 */
aside {
    flex: 1;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1f2937;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.popular-articles {
    list-style: none;
}

.popular-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.popular-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-articles a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
}

.popular-articles a:hover {
    color: #2563eb;
}

.popular-articles .date {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}

/* 价格卡片 */
.price-card {
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.price-card h3 {
    color: white;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.crypto-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.crypto-price:last-child {
    margin-bottom: 0;
}

/* 分享区域 */
.share-section {
    display: flex;
    align-items: center;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.share-text {
    font-weight: 500;
    margin-right: 15px;
}

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

.share-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.twitter {
    background: #1da1f2;
}

.facebook {
    background: #3b5998;
}

.linkedin {
    background: #0077b5;
}

/* 相关文章 */
.related-articles {
    margin: 40px 0;
}

.related-articles h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f2937;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 160px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    overflow:hidden;
}

.card-image img{
    width: 100%;
}
.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2937;
}

.card-content p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* 底部样式 */
footer {
    background: #1f2937;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f9fafb;
}

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

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

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.copyright a{

    color: #9ca3af;
}
/* 响应式设计 */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 26px;
    }
    
    .meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta span {
        margin-bottom: 8px;
    }
    
    .article-image {
        height: 250px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
    /* 面包屑导航样式 */
    .breadcrumb {
        margin-bottom: 15px;
        font-size: 14px;
        color: #6b7280;
    }
    
    .breadcrumb a {
        color: #2563eb;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .breadcrumb a:hover {
        color: #1e40af;
        text-decoration: underline;
    }
    
    .breadcrumb span {
        color: #4b5563;
    }
    /* 文章导航样式 */
    .article-navigation {
        display: flex;
        justify-content: space-between;
        margin: 30px 0;
        padding-top: 20px;
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #4b5563;
        padding: 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        max-width: 45%;
        border: 1px solid transparent;
    }
    
    .nav-link:hover {
        background-color: #f9fafb;
        border-color: #e5e7eb;
        transform: translateY(-2px);
    }
    
    .prev {
        text-align: left;
    }
    
    .next {
        text-align: right;
        flex-direction: row-reverse;
    }
    
    .nav-arrow {
        font-size: 20px;
        font-weight: bold;
        margin: 0 15px;
        color: #2563eb;
    }
    
    .nav-content {
        display: flex;
        flex-direction: column;
    }
    
    .nav-label {
        font-size: 12px;
        color: #9ca3af;
        margin-bottom: 5px;
    }
    
    .nav-title {
        font-weight: 500;
        font-size: 16px;
        color: #374151;
        transition: color 0.3s;
    }
    
    .nav-link:hover .nav-title {
        color: #2563eb;
    }
    
    /* 响应式设计 */
    @media (max-width: 768px) {
        .article-navigation {
            flex-direction: column;
            gap: 15px;
        }
        
        .nav-link {
            max-width: 100%;
        }
    }
    
    /*新增广告ad1 css*/
.new-ad1 {
  border-radius: 10px;
  background: #f5f5f5;
  /*box-shadow: 0px 0px 15px 0px rgb(101 101 101 / 15%);*/
  padding: 12px 20px;
  margin-bottom: 10px;
}
.new-ad1 .ad1-info {
  display: flex;
  align-items: center;
}
.new-ad1 .ad1-info > img {
  width: 70px!important;
  height: 70px!important;
  border-radius: 5px;
  margin-right: 10px;
}
.new-ad1 .ad1-info .sec {
  flex: 1;
  overflow: hidden;
}
.new-ad1 .ad1-info .sec > div {
  font-size: 20px;
  /*font-weight: bold;*/
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.new-ad1 .ad1-info .sec > p {
  margin-top: 10px;
  font-size: 14px;
  color: #999;
  overflow : hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 24px;
  text-indent: 0px;
}
.new-ad1 .ad1-down {
  margin-top: 15px;
  display: flex;
}
.new-ad1 .ad1-down a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  flex: 1;
  border-radius: 5px;
  box-sizing: border-box;
  color: #fff;
  text-decoration:none;
}
.new-ad1 .ad1-down a:nth-of-type(1) {
  color: #fff;
  font-size: 14px;
  background: #43AB04;
  margin-right: 40px;
}
.new-ad1 .ad1-down a:nth-of-type(2) {
  font-size: 14px;
  background: #8080FF;
}
