/* 面包屑导航 */
.breadcrumb {
  margin: 20px 0;
  font-size: 0.85rem;
  color: #666;
}

.breadcrumb a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 主要内容 */
.main-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  margin: 25px 0;
  padding: 0;
}

/* 文章内容 */
.article-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  color: #666;
}

.article-author {
  font-weight: 500;
}

.article-date {
  color: #999;
}

.article-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.article-text {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #333;
}

.article-text p {
  margin-bottom: 15px;
}

.article-text h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 25px 0 15px;
  color: #333;
}

.article-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #333;
}

/* 文章导航 */
.article-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-prev,
.nav-next {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
  transform: translateX(5px);
}

/* 右侧边栏 */
.right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 相关文章 */
.related-articles {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-articles:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.related-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-image {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.related-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.related-item:hover .related-title {
  color: #667eea;
}

/* 标签 */
.tags {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tags:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.05);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}


.article-content {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.related-articles {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.tags {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.footer-links a:hover {
  animation: pulse 0.5s ease-in-out;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .article-content {
    padding: 15px;
  }
  .article-title {
    font-size: 1.3rem;
  }
  .article-image {
    height: 200px;
  }
  .related-image {
    height: 200px;
  }






  

}