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

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

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

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 20px 20px;
  display: block;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: #34495e;
}

.act .nav-link {
  background-color: #3498db;
}

/* 移动端菜单按钮 */
.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: 2fr 1fr;
  gap: 30px;
}

/* 左侧内容区 */
.content-area {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* 广告位 */
.ad-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-banner h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.ad-banner p {
  opacity: 0.9;
}

/* 头条新闻区域 */
.hero-section {
  height: 400px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  height: 100%;
}

.hero-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: white;
  display: block;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.hero-card:hover img {
  transform: scale(1.05);
}

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

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

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

.side-hero .hero-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.side-hero .hero-content {
  padding: 20px 18px 18px;
}

/* 新闻分类区域 */
.news-section {
  padding: 30px;
}

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

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

.more-btn {
  color: #3498db;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #3498db;
  border-radius: 20px;
  transition: all 0.3s;
}

.more-btn:hover {
  background-color: #3498db;
  color: white;
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.news-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  background: white;
}

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

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}

.news-date {
  background-color: #ecf0f1;
  padding: 4px 8px;
  border-radius: 4px;
}

/* 热门推荐区域 */
.hot-news {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hot-news h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
  padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
}

.hot-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.hot-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hot-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
}

.hot-content {
  flex: 1;
}

.hot-title {
  font-size: 14px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-date {
  font-size: 12px;
  color: #999;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  padding-top: 10px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: #3498db;
}

.footer-section p,
.footer-section li {
  margin-bottom: 8px;
  color: #bdc3c7;
}

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

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

.footer-section a:hover {
  color: #3498db;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  margin-top: 20px;
}

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

.footer-links a:hover {
  color: #3498db;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid #34495e;
  }
  .main-container {
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 20px;
  }
  .hero-section {
    height: 300px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .main-hero .hero-title {
    font-size: 18px;
  }
  .side-hero .hero-title {
    font-size: 16px;
  }
  .hero-content {
    padding: 15px 15px 12px;
  }
  .side-hero .hero-content {
    padding: 15px 15px 12px;
  }
  .news-section {
    padding: 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .nav-container {
    padding: 15px;
  }
  .main-container {
    padding: 10px;
  }
  .hero-section {
    height: 250px;
  }
  .news-section {
    padding: 15px;
  }
  .ad-banner {
    padding: 25px 15px;
  }
  .hot-news {
    padding: 20px 15px;
  }
}
.list-page {
  /* 主要内容区域 */
  /* 新闻列表容器 */
  /* 新闻网格 */
  /* 响应式设计 */
}
.list-page .main-container2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}
.list-page .news-list {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.list-page .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.list-page .news-card {
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
  background: white;
  text-decoration: none;
  color: inherit;
  display: block;
}
.list-page .news-card:nth-child(3n) {
  border-right: none;
}
.list-page .news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
  position: relative;
}
.list-page .news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.list-page .news-card:hover .news-image {
  transform: scale(1.05);
}
.list-page .news-content {
  padding: 20px;
}
.list-page .news-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.list-page .news-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
}
.list-page .news-author {
  color: #3498db;
}
.list-page .news-date {
  background-color: #ecf0f1;
  padding: 4px 8px;
  border-radius: 4px;
}
@media (max-width: 968px) {
  .list-page .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-page .news-card:nth-child(3n) {
    border-right: 1px solid #eee;
  }
  .list-page .news-card:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 768px) {
  .list-page .main-container {
    padding: 20px 15px;
  }
  .list-page .page-header {
    padding: 20px;
  }
  .list-page .page-title {
    font-size: 24px;
  }
  .list-page .news-grid {
    grid-template-columns: 1fr;
  }
  .list-page .news-card {
    border-right: none;
  }
  .list-page .news-card:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 480px) {
  .list-page .nav-container {
    padding: 0 15px;
  }
  .list-page .main-container {
    padding: 15px 10px;
  }
  .list-page .page-header {
    padding: 15px;
  }
  .list-page .news-content {
    padding: 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: #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 */
