@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(38, 40, 42);
  background: #fff;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin: 0;
  padding: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: #fd42d2;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

button, input, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  border: none;
  background: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  min-height: 100vh;
}

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

/* 主要内容区域 */
.main-content {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* 轮播区域 */
.hero-section {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  height: 350px;
}

.hero-article {
  position: relative;
  height: 100%;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  display: block;
}

.hero-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px;
}

.hero-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-desc {
  font-size: 16px;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sidebar-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-desc {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分类区域 */
.category-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fd42d2;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #fd42d2, #764ba2);
  border-radius: 2px;
}

.more-btn {
  color: #fd42d2;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border: 2px solid #fd42d2;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: #fd42d2;
  color: white;
  transform: translateY(-2px);
}

/* 文章网格 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
  display: flex;
  justify-content: space-between;
}

/* 友情链接 */
.links-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.link-item {
  color: #fd42d2;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #e1e8ff;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.link-item:hover {
  background: #fd42d2;
  color: white;
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-section {
    height: 250px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-overlay {
    padding: 20px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 20px;
  }
  .links-grid {
    justify-content: flex-start;
  }
}
.list-page {
  padding-top: 20px;
  /* 主要内容区域 */
  /* 文章列表 */
  /* 加载状态 */
  /* 响应式设计 */
  /* 特殊文章样式 */
}
.list-page .main-content {
  padding: 40px 0;
}
.list-page .articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.list-page .article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.list-page .article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}
.list-page .article-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.list-page .article-card:hover::before {
  opacity: 1;
}
.list-page .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.list-page .article-card:hover .article-image {
  transform: scale(1.1);
}
.list-page .article-content {
  padding: 25px;
  position: relative;
  z-index: 2;
}
.list-page .article-category {
  display: inline-block;
  background: linear-gradient(135deg, #fd42d2, #764ba2);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.list-page .article-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.list-page .article-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}
.list-page .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}
.list-page .article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-page .article-author::before {
  content: "👤";
  font-size: 14px;
}
.list-page .article-stats {
  display: flex;
  gap: 15px;
}
.list-page .stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.list-page .stat-item::before {
  font-size: 12px;
}
.list-page .views::before {
  content: "👁";
}
.list-page .likes::before {
  content: "❤️";
}
.list-page .loading-skeleton {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@media (max-width: 768px) {
  .list-page .articles-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-page .page-title {
    font-size: 32px;
  }
  .list-page .page-subtitle {
    font-size: 16px;
  }
  .list-page .article-image {
    height: 180px;
  }
  .list-page .article-content {
    padding: 20px;
  }
  .list-page .pagination {
    gap: 5px;
  }
  .list-page .page-btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .list-page .container {
    padding: 0 15px;
  }
  .list-page .page-header {
    padding: 30px 0 40px;
  }
  .list-page .page-title {
    font-size: 28px;
  }
  .list-page .articles-list {
    gap: 15px;
  }
  .list-page .article-title {
    font-size: 18px;
  }
  .list-page .article-desc {
    font-size: 14px;
  }
}
.list-page .article-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.list-page .article-card.featured .article-image {
  height: 100%;
  min-height: 280px;
}
.list-page .article-card.featured .article-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.list-page .article-card.featured .article-title {
  font-size: 24px;
  -webkit-line-clamp: 3;
}
.list-page .article-card.featured .article-desc {
  -webkit-line-clamp: 4;
  font-size: 16px;
}
@media (max-width: 768px) {
  .list-page .article-card.featured {
    grid-column: span 1;
    display: block;
  }
  .list-page .article-card.featured .article-image {
    height: 220px;
  }
  .list-page .article-card.featured .article-content {
    padding: 25px;
  }
  .list-page .article-card.featured .article-title {
    font-size: 20px;
  }
  .list-page .article-card.featured .article-desc {
    font-size: 15px;
  }
}

/* 导航栏 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 14px;
}

.nav-menu a:hover, .nav-menu .active a {
  color: #fd42d2;
  border-bottom: 2px solid #fd42d2;
  padding-bottom: 10px;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  .nav-menu.active {
    display: flex !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
/* 底部 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 10px;
}

.footer-description {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-bottom: 20px;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pagination-container ul.page-no li.active {
  background: #fd42d2;
  font-weight: 600;
  color: #fff;
}
.pagination-container ul li {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #999;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}
.pagination-container ul li a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-container ul li a.active {
  background: #fd42d2;
  font-weight: 600;
  color: #fff;
}
.pagination-container ul li.page-options {
  width: 70px;
}
.pagination-container ul li.page-options a {
  width: 70px;
}

@media (max-width: 768px) {
  .pagination-container {
    margin-top: 15px;
    transform: scale(0.8);
  }
}
.detail-page {
  width: min(750px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  padding-bottom: 20px;
  padding-top: 20px;
}
.detail-page .detail-box .title {
  margin-top: 38px;
  margin-bottom: 20px;
  line-height: 23px;
  font-size: 20px;
  color: rgb(38, 40, 42);
  font-weight: bold;
}
.detail-page .detail-box .source {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.detail-page .detail-box .source img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 18px;
}
.detail-page .detail-box .source .name-info .name {
  margin-bottom: 8px;
  color: rgb(38, 38, 38);
  font-size: 16px;
  line-height: 18px;
}
.detail-page .detail-box .source .name-info .time {
  font-size: 14px;
  line-height: 18px;
  color: rgb(140, 140, 140);
}

@media (max-width: 768px) {
  .detail-page {
    padding: 0 8px;
    margin: 8px auto;
    padding-top: 20px;
  }
  .detail-page .detail-box .title {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
  }
  .detail-page .detail-box .source {
    margin-bottom: 10px;
  }
  .detail-page .detail-box .source img {
    margin-right: 10px;
  }
  .detail-page .detail-box .source .name-info .name {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .bread {
    margin-bottom: 20px;
    margin-left: 5px !important;
  }
}
.bread {
  display: flex;
  align-items: center;
  gap: 8px;
  left: 22px;
  font-size: 14px;
  line-height: 22px;
  width: min(1200px, 100%);
  margin: 0 auto;
  margin-bottom: 20px;
}
.bread .link {
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.bread .link a {
  color: rgba(0, 0, 0, 0.45);
}
.bread .text {
  color: rgb(0, 0, 0);
  font-weight: bold;
}

/*# sourceMappingURL=index.css.map */
