@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: #46a5c1;
}

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

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

.sidebar-ad {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

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

.logo {
  display: flex;
  align-items: center;
  padding: 15px 0;
}
.logo img {
  height: 40px;
}

.logo-icon {
  width: 40px;
  height: 30px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  margin-right: 10px;
  border-radius: 4px;
  position: relative;
}

.logo-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 15px;
  background: white;
  border-radius: 2px;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
}

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

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

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  padding: 20px 0;
  display: block;
  position: relative;
}

nav ul li a:hover {
  opacity: 0.8;
}

nav ul li.act a {
  color: #4ecdc4;
  font-weight: bold;
}

nav ul li.act a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #4ecdc4;
  border-radius: 2px;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* 主要内容区域 */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

/* 主内容区 */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 轮播图区域 */
.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content {
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 新闻分类 */
.news-section {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #1a237e;
}

.section-title {
  font-size: 24px;
  color: #1a237e;
  font-weight: bold;
}

.view-more {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.view-more:hover {
  background: #1a237e;
  color: white;
  border-color: #1a237e;
}

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

.news-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #1a237e;
}

.news-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  position: relative;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.news-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

.news-meta {
  font-size: 12px;
  color: #999;
}

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

.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.trending-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-item:hover {
  background-color: #f9f9f9;
  padding-left: 10px;
}

.trending-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333;
}

.trending-time {
  font-size: 12px;
  color: #999;
}

/* 页脚 */
footer {
  background: #2c3e50;
  color: white;
  padding: 30px 0;
  margin-top: 40px;
}

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

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #34495e;
  font-size: 14px;
  color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a237e;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    margin: 10px 0;
  }
  .menu-toggle {
    display: block;
  }
  .main-container {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 20px;
  }
  .hero-section {
    height: 250px;
  }
  .hero-content h2 {
    font-size: 24px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 20px;
  }
  .news-section {
    padding: 20px;
  }
  .sidebar-widget {
    padding: 20px;
  }
  .footer-links a {
    margin: 0 10px;
    display: inline-block;
    margin-bottom: 5px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    height: 200px;
  }
  .hero-content h2 {
    font-size: 20px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .section-title {
    font-size: 18px;
  }
  .news-section {
    padding: 15px;
  }
  .sidebar-widget {
    padding: 15px;
  }
  .footer-links a {
    margin: 0 8px;
    font-size: 13px;
  }
}
.list-page {
  /* 主要内容区域 */
  /* 列表页面头部 */
  /* 新闻列表 */
  /* 响应式设计 */
}
.list-page .main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.list-page .list-header {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.list-page .list-title {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 10px;
}
.list-page .list-description {
  color: #666;
  font-size: 16px;
}
.list-page .news-list-container {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.list-page .news-list-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.list-page .news-list-item:last-child {
  border-bottom: none;
}
.list-page .news-list-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.list-page .news-list-content {
  display: flex;
  gap: 20px;
}
.list-page .news-list-image {
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.list-page .news-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.list-page .news-list-item:hover .news-list-image img {
  transform: scale(1.05);
}
.list-page .news-list-info {
  flex: 1;
}
.list-page .news-list-title {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}
.list-page .news-list-item:hover .news-list-title {
  color: #3498db;
}
.list-page .news-list-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-page .news-list-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #999;
  align-items: center;
}
.list-page .news-list-tag {
  background: #e74c3c;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
}
@media (max-width: 768px) {
  .list-page .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2c3e50;
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .list-page .nav-menu.active {
    display: flex;
  }
  .list-page .nav-menu li a {
    padding: 15px 20px;
    border-bottom: 1px solid #34495e;
  }
  .list-page .mobile-menu-btn {
    display: block;
  }
  .list-page .main-container {
    padding: 15px;
  }
  .list-page .news-list-content {
    flex-direction: column;
    gap: 15px;
  }
  .list-page .news-list-image {
    width: 100%;
    height: 200px;
  }
  .list-page .footer-links {
    flex-direction: column;
    gap: 15px;
  }
  .list-page .pagination {
    flex-wrap: wrap;
  }
  .list-page .news-list-meta {
    flex-wrap: wrap;
  }
}

.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: #46a5c1;
  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: #46a5c1;
  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 */
