@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: #3498db;
}

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;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.home {
  /* 主要内容区域 */
  /* 头条新闻 */
  /* 分类区块 */
  /* 新闻卡片网格 */
  /* 特色文章区 */
  /* 响应式设计 */
}
.home .main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.home .hero-section {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.home .hero-image {
  min-height: 400px;
}
.home .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .hero-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .hero-content h1 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.home .hero-content p {
  color: #666;
  margin-bottom: 20px;
  font-size: 18px;
}
.home .read-more {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.home .read-more:hover {
  gap: 12px;
}
.home .category-section {
  margin-bottom: 30px;
}
.home .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
}
.home .category-title {
  font-size: 28px;
  color: #1a1a1a;
  font-weight: 700;
}
.home .view-all {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}
.home .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.home .news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.home .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.home .news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.home .news-card-content {
  padding: 20px;
}
.home .news-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
}
.home .news-card h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 12px;
  color: #2c3e50;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .news-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.home .featured-main {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.home .featured-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.home .featured-main-content {
  padding: 30px;
}
.home .featured-main-content h2 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .featured-main-content p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.home .sidebar-item {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 16px;
}
.home .sidebar-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}
.home .sidebar-item-content {
  flex: 1;
}
.home .sidebar-item-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.home .sidebar-item-content p {
  font-size: 14px;
  color: #666;
}
@media (max-width: 768px) {
  .home .header-container {
    flex-direction: column;
    gap: 20px;
  }
  .home nav ul {
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .home nav a {
    font-size: 14px;
  }
  .home .hero-section {
    grid-template-columns: 1fr;
  }
  .home .hero-image {
    min-height: 250px;
  }
  .home .hero-content {
    padding: 30px 20px;
  }
  .home .hero-content h1 {
    font-size: 24px;
  }
  .home .hero-content p {
    font-size: 16px;
  }
  .home .category-title {
    font-size: 24px;
  }
  .home .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home .featured-grid {
    grid-template-columns: 1fr;
  }
  .home .featured-main img {
    height: 200px;
  }
  .home .featured-main-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 10px;
    flex-direction: column;
    gap: 10px;
  }
  .header-container ul {
    flex-wrap: wrap;
    gap: 10px !important;
  }
  .home .main-container {
    padding: 15px !important;
  }
  .bread {
    margin-bottom: 20px;
  }
  .list-page .main-container {
    display: flex !important;
    flex-direction: column;
  }
  .list-page .sidebar {
    display: none;
  }
  .list-page .list-item {
    display: flex !important;
    flex-direction: column;
  }
  .list-page .list-item .list-item-image {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .bread {
    margin-bottom: 20px;
    margin-left: 15px !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;
}

.list-page {
  padding-top: 30px;
  /* 主要内容区域 */
  /* 列表头部 */
  /* 列表样式 */
  /* 侧边栏 */
  /* 热门排行增强样式 */
  /* 推荐阅读 */
  /* 分页 */
  /* 加载更多按钮 */
  /* 响应式设计 */
}
.list-page .main-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
.list-page .list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}
.list-page .list-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}
.list-page .sort-options {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.list-page .sort-btn {
  color: #666;
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.list-page .sort-btn:hover,
.list-page .sort-btn.active {
  color: #667eea;
  border-bottom-color: #667eea;
}
.list-page .news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.list-page .list-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: all 0.3s;
  cursor: pointer;
}
.list-page .list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.list-page .list-item-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.list-page .list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.list-page .list-item:hover .list-item-image img {
  transform: scale(1.05);
}
.list-page .image-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.list-page .list-item-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.list-page .list-item-header h2 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #1a1a1a;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .list-item-header p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .list-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-page .list-item-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #999;
}
.list-page .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.list-page .read-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}
.list-page .read-link:hover {
  gap: 8px;
}
.list-page .sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.list-page .sidebar-section {
  background: white;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.list-page .sidebar-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a1a1a;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.list-page .trending-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-page .trending-item {
  display: flex;
  gap: 16px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}
.list-page .trending-item:hover {
  background: #f8f8f8;
}
.list-page .trending-number {
  width: 36px;
  height: 36px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}
.list-page .trending-item:nth-child(1) .trending-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 18px;
}
.list-page .trending-item:nth-child(2) .trending-number {
  background: linear-gradient(135deg, #9f7aea 0%, #b794f4 100%);
  color: white;
}
.list-page .trending-item:nth-child(3) .trending-number {
  background: linear-gradient(135deg, #b794f4 0%, #d6bcfa 100%);
  color: white;
}
.list-page .trending-content h4 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #1a1a1a;
  font-weight: 500;
}
.list-page .trending-content p {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 12px;
}
.list-page .trending-views {
  color: #667eea;
  font-weight: 500;
}
.list-page .recommend-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.list-page .recommend-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
  cursor: pointer;
}
.list-page .recommend-item:hover {
  background: #f8f8f8;
}
.list-page .recommend-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.list-page .recommend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-page .recommend-content h4 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #1a1a1a;
  font-weight: 500;
}
.list-page .recommend-content p {
  font-size: 12px;
  color: #999;
}
.list-page .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.list-page .page-btn {
  padding: 10px 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  color: #666;
}
.list-page .page-btn:hover {
  border-color: #667eea;
  color: #667eea;
}
.list-page .page-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
.list-page .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.list-page .page-ellipsis {
  color: #999;
  padding: 0 8px;
}
.list-page .load-more {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 12px 24px;
  background: white;
  border: 2px solid #667eea;
  color: #667eea;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.list-page .load-more:hover {
  background: #667eea;
  color: white;
}
@media (max-width: tablet) {
  .list-page .main-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .list-page .sidebar {
    display: none;
  }
  .list-page .list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .list-page .sort-options {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .list-page .sort-options::-webkit-scrollbar {
    height: 4px;
  }
  .list-page .sort-options::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
  }
  .list-page .list-item {
    grid-template-columns: 1fr;
  }
  .list-page .list-item-image {
    height: 200px;
  }
  .list-page .list-item-content {
    padding: 20px;
  }
  .list-page .list-item-header h2 {
    font-size: 20px;
  }
  .list-page .list-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .list-page {
    padding-top: 20px;
  }
  .list-page .main-container {
    padding: 0 15px;
  }
  .list-page .list-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }
  .list-page .list-title {
    font-size: 24px;
  }
  .list-page .list-item {
    border-radius: 8px;
  }
  .list-page .list-item-image {
    height: 180px;
  }
  .list-page .list-item-content {
    padding: 15px;
  }
  .list-page .list-item-header h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .list-page .list-item-header p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .list-page .list-item-meta {
    font-size: 12px;
    gap: 12px;
  }
  .list-page .read-link {
    font-size: 13px;
  }
}

header {
  position: fixed;
  z-index: 333;
  left: 0;
  top: 0;
  right: 0;
}

.header-height {
  height: 70px;
}

/* 导航栏 */
.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: #3498db;
  border-bottom: 2px solid #3498db;
  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;
}

/* 底部 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
}

.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) {
  .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;
  }
}
.pagination-container {
  margin: 30px auto 20px;
  display: flex;
  justify-content: center;
}
.pagination-container ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pagination-container ul.page-no li.active {
  background: #3498db;
  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: #3498db;
  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: 20px auto;
  min-height: calc(100vh - 100px - 100px);
}
.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);
}
.detail-page .detail-box .content {
  word-break: break-all;
}

@media (max-width: 768px) {
  .detail-page {
    padding: 0 8px;
    margin: 8px auto;
  }
  .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;
  }
}

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