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

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: 20px;
}

/* Top Featured Section - 4 items in a row */
.top-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.featured-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.featured-item:hover {
  transform: translateY(-5px);
}

.featured-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 15px;
}

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

.featured-description {
  font-size: 12px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Latest Posts Section */
.latest-posts {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
}

.view-more-btn {
  background: #ee9003;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.view-more-btn:hover {
  background: #ee9003;
  color: #333;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Left side - Large featured article */
.main-article {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.main-article-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

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

.main-article-content {
  padding: 20px;
}

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

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

/* Right side - Article list */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-item {
  background: white;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 120px;
}

.article-image {
  width: 120px;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.article-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.article-description {
  font-size: 12px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .top-featured {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-grid {
    grid-template-columns: 1fr;
  }
  .article-list {
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  .top-featured {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .latest-grid {
    grid-template-columns: 1fr;
  }
  .article-item {
    flex-direction: column;
    height: auto;
  }
  .article-image {
    width: 100%;
    height: 150px;
  }
  .section-header {
    gap: 10px;
  }
}
.list-page {
  /* Responsive Design */
}
.list-page .articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}
.list-page .article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.list-page .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.list-page .article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.list-page .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.list-page .article-card:hover .article-image img {
  transform: scale(1.05);
}
.list-page .article-content {
  padding: 20px;
}
.list-page .article-category {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.list-page .article-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.list-page .article-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.list-page .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 12px;
}
.list-page .article-date {
  font-weight: 500;
}
.list-page .article-author {
  font-style: italic;
}
@media (max-width: 768px) {
  .list-page .container {
    padding: 15px;
  }
  .list-page .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-page .article-image {
    height: 180px;
  }
  .list-page .article-content {
    padding: 15px;
  }
}

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: #ee9003;
  border-bottom: 2px solid #ee9003;
  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 {
  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: #ee9003;
  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: #ee9003;
  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);
}
.detail-page .detail-box .content {
  word-break: break-all;
}

@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 */
