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

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

/* 轮播区域 */
.carousel-container {
  position: relative;
  height: 400px;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.slide-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 3;
  color: white;
}

.slide-category {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.slide-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-description {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 4;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: #ff6b6b;
}

/* 轮播箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* 分类部分 */
.category-section {
  margin-bottom: 50px;
}

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

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.category-icon {
  width: 30px;
  height: 30px;
  background: #ff6b6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.more-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.more-btn:hover {
  background: #ff5252;
}

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

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

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

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

.article-content {
  padding: 20px;
}

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

.article-description {
  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;
}

.article-date {
  color: #ff6b6b;
  font-size: 12px;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  .carousel-container {
    height: 300px;
  }
  .slide-content {
    bottom: 30px;
    left: 25px;
    right: 25px;
  }
  .slide-title {
    font-size: 22px;
  }
  .slide-description {
    font-size: 14px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .carousel-indicators {
    bottom: 15px;
    right: 25px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-section {
    margin-bottom: 25px;
  }
  .category-header {
    gap: 15px;
    margin-bottom: 15px;
  }
  .category-title {
    font-size: 20px;
  }
}
.list-page {
  /* 响应式设计 */
}
.list-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.list-page .main-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.list-page .results-count {
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}
.list-page .article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.list-page .list-article {
  display: flex;
  gap: 15px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  max-height: 197px;
}
.list-page .list-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #ff6b6b;
}
.list-page .list-article .content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.list-page .list-article .image-wrapper {
  width: 120px;
  height: 100%;
  flex-shrink: 0;
}
.list-page .list-article .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-page .category-tag {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  width: fit-content;
}
.list-page .article-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .article-excerpt {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
}
.list-page .author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-page .author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
}
.list-page .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-page .read-time {
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
}
.list-page .sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.list-page .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.list-page .widget-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  position: relative;
}
.list-page .widget-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}
.list-page .popular-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}
.list-page .popular-item:last-child {
  border-bottom: none;
}
.list-page .popular-item:hover {
  background-color: #f8f9fa;
  margin: 0 -15px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 8px;
}
.list-page .popular-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-page .popular-date {
  font-size: 12px;
  color: #888;
}
.list-page .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.list-page .tag-item {
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}
.list-page .tag-item:hover {
  background: #ff6b6b;
  color: white;
  border-color: #ff6b6b;
}
.list-page .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 30px 0;
}
.list-page .page-btn {
  padding: 10px 15px;
  border: 1px solid #ddd;
  background: white;
  color: #666;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 45px;
  text-align: center;
}
.list-page .page-btn:hover,
.list-page .page-btn.active {
  background: #ff6b6b;
  color: white;
  border-color: #ff6b6b;
}
.list-page .page-btn.disabled {
  background: #f8f9fa;
  color: #ccc;
  cursor: not-allowed;
}
.list-page a {
  text-decoration: none;
  color: inherit;
}
.list-page a:hover .article-title {
  color: #ff6b6b;
}
@media (max-width: 768px) {
  .list-page .page-title {
    font-size: 36px;
  }
  .list-page .article-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .list-page .list-article {
    flex-direction: column;
  }
  .list-page .list-article .image-wrapper {
    width: 100%;
    height: 180px;
  }
}

.search-section {
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.05), rgba(255, 64, 129, 0.05));
}
.search-section .search-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.search-section .search-header .search-title {
  font-size: 36px;
  color: #ff6b6b;
  font-weight: bold;
  margin: 0 0 30px 0;
}
.search-section .search-box-large .search-form-large {
  display: flex;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.search-section .search-box-large .search-form-large .search-input-large {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  outline: none;
  background: transparent;
}
.search-section .search-box-large .search-form-large .search-input-large::placeholder {
  color: #999;
}
.search-section .search-box-large .search-form-large .search-btn-large {
  background: #ff6b6b;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.search-section .search-box-large .search-form-large .search-btn-large:hover {
  background: #ff3838;
}
.search-section .search-box-large .search-form-large .search-btn-large i {
  font-size: 18px;
}

.search-results-section {
  padding: 10px 0 0px 0;
}
.search-results-section .search-info {
  margin-bottom: 30px;
}
.search-results-section .search-info .results-title {
  font-size: 28px;
  color: #ff6b6b;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.search-results-section .search-info .results-count {
  font-size: 16px;
  color: #999;
  margin: 0;
}
.search-results-section .search-info .results-count .search-keyword {
  color: #ff6b6b;
  font-weight: 500;
}

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: #ff6b6b;
  border-bottom: 2px solid #ff6b6b;
  padding-bottom: 10px;
}

.search-box .search-form {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 5px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.search-box .search-form:focus-within {
  border-color: #ff6b6b;
}
.search-box .search-input {
  border: none;
  background: transparent;
  padding: 8px 15px;
  width: 200px;
  outline: none;
  font-size: 14px;
}
.search-box .search-input::placeholder {
  color: #333;
}
.search-box .search-btn {
  border: none;
  color: #333;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-box .search-btn img {
  width: 20px;
  height: 20px;
}

/* 移动端菜单按钮 */
.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;
  }
  .search-box .search-form .search-input {
    width: 100%;
    flex: 1;
    padding-right: 0;
  }
}
.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: #ff6b6b;
  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: #ff6b6b;
  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(1200px, 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 */
