/* 内页样式 */

/* 页面横幅 */
.page-banner {
  background-color: #1a73e8;
  color: #fff;
  padding: 40px 0;
  margin-bottom: 30px;
  position: relative;
}

.page-banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(to right, #1a73e8, #2196f3, #64b5f6);
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
}

.breadcrumb {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  margin: 0 8px;
  font-size: 12px;
}

/* 侧边栏样式 */
.sidebar-nav {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.sidebar-title {
  background-color: #1a73e8;
  color: #fff;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-menu {
  padding: 10px 0;
}

.sidebar-menu li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sidebar-menu li a:hover {
  background-color: #f5f5f5;
  color: #1a73e8;
  padding-left: 25px;
}

.sidebar-menu li.active > a {
  background-color: #f5f5f5;
  color: #1a73e8;
  font-weight: 600;
  border-left: 3px solid #1a73e8;
}

/* 空数据提示 */
.empty-notice {
  padding: 30px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.empty-notice i {
  font-size: 24px;
  margin-right: 5px;
  color: #f44336;
}

/* 分页样式 */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 2px;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  color: #333;
  border-radius: 3px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}

.pagination .current {
  background-color: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

.pagination .disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* 段落标题 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0;
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #1a73e8, #64b5f6);
  border-radius: 4px;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 视图切换 */
.view-switcher {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 2px;
  margin-left: 10px;
}

.view-btn {
  padding: 6px 10px;
  color: #757575;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.view-btn:hover {
  color: #1a73e8;
}

.view-btn.active {
  background-color: #fff;
  color: #1a73e8;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 产品数量 */
.product-count {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
}

.product-count span {
  color: #1a73e8;
  font-weight: 600;
}

/* 产品详情页 */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.product-gallery {
  width: 45%;
  margin-right: 5%;
}

.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-info-detail {
  width: 50%;
}

.product-title-detail {
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.product-specs {
  margin-bottom: 20px;
}

.product-specs li {
  padding: 8px 0;
  border-bottom: 1px dashed #f0f0f0;
  color: #666;
}

.product-specs li strong {
  display: inline-block;
  width: 80px;
  color: #333;
}

.product-description {
  margin-top: 30px;
}

.product-description-title {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* 新闻列表页 */
.news-list-page {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
}

.news-list-page li {
  position: relative;
  padding: 25px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  overflow: hidden;
}

.news-list-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #1a73e8, #64b5f6);
  opacity: 0.7;
}

.news-list-page li:hover {
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.15);
  transform: translateY(-6px);
}

.news-list-page li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to right, rgba(26, 115, 232, 0.05), transparent);
  transition: height 0.3s ease;
  z-index: 0;
}

.news-list-page li:hover::after {
  height: 100%;
}

.news-list-page li.top-news {
  border: none;
  background-color: rgba(244, 67, 54, 0.03);
}

.news-list-page li.top-news::before {
  background: linear-gradient(to bottom, #f44336, #ff7961);
}

.news-badge {
  display: inline-block;
  background: linear-gradient(to right, #f44336, #ff7961);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  margin-right: 10px;
  box-shadow: 0 2px 5px rgba(244, 67, 54, 0.2);
}

.news-list-page li .news-title {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  z-index: 1;
}

.news-list-page li .news-title a {
  color: #222;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

.news-list-page li .news-title a:hover {
  color: #1a73e8;
  text-decoration: none;
}

.news-list-page li .news-title a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1a73e8;
  transition: width 0.3s ease;
}

.news-list-page li .news-title a:hover::after {
  width: 100%;
}

.news-list-page li .news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: #757575;
  font-size: 13px;
  position: relative;
  z-index: 1;
  padding-bottom: 15px;
  border-bottom: 1px dashed #e0e0e0;
}

.news-list-page li .news-meta span {
  display: flex;
  align-items: center;
}

.news-list-page li .news-meta i {
  margin-right: 6px;
  color: #1a73e8;
  font-size: 14px;
}

.news-list-page li .news-summary {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.news-list-page li .btn {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  background: linear-gradient(to right, #1a73e8, #64b5f6);
  color: #fff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
}

.news-list-page li .btn:hover {
  background: linear-gradient(to right, #0d62c7, #1a73e8);
  transform: translateX(5px);
  box-shadow: 0 6px 10px rgba(26, 115, 232, 0.3);
}

.news-list-page li .btn i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.news-list-page li .btn:hover i {
  transform: translateX(4px);
}

/* 响应式设置 */
@media (min-width: 768px) {
  .news-list-page {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1200px) {
  .news-list-page.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 文章详情页 */
.article-header {
  margin-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.article-title {
  font-size: 24px;
  color: #333;
  font-weight: 600;
  margin: 0 0 15px;
  line-height: 1.4;
}

.article-meta {
  color: #757575;
  font-size: 13px;
}

.article-meta span {
  display: inline-block;
  margin-right: 15px;
}

.article-meta i {
  margin-right: 5px;
  color: #1a73e8;
}

.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.article-body img:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.article-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
}

.article-actions {
  display: flex;
  gap: 10px;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #1a73e8;
  color: #1a73e8;
}

.btn-outline:hover {
  background-color: #f5f9ff;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .news-list-page li {
    padding: 15px;
    margin-bottom: 15px;
  }
  
  .news-list-page li .news-title {
    font-size: 16px;
  }
  
  .article-title {
    font-size: 20px;
  }
  
  .article-content {
    padding: 15px;
  }
}

/* 图片响应式 */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lightbox样式 */
.lightbox {
  cursor: zoom-in;
  display: inline-block;
}

.lightbox img {
  transition: all 0.3s ease;
}

.lightbox:hover img {
  opacity: 0.9;
}

/* 添加文章内容容器样式 */
.article-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 25px;
  margin-bottom: 30px;
} 