@charset "UTF-8";
:root {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
  --dark-color: #333;
  --light-color: #f5f5f5;
  --gray-color: #666;
  --accent-color: #ff7a50;
}

body {
  font-family: 'Microsoft Yahei', sans-serif;
  color: var(--dark-color);
  line-height: 1.8;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: white !important;
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.navbar-brand i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-link {
  color: var(--dark-color);
  font-weight: 500;
  margin-left: 1.5rem;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* 面包屑导航 */
.breadcrumb-nav {
  padding: 1rem 0;
  background-color: var(--light-color);
  font-size: 0.9rem;
}
.breadcrumb-nav .container {
  display: flex;
  align-items: center;
}
.breadcrumb-nav a {
  color: var(--gray-color);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb-nav a:hover {
  color: var(--primary-color);
}
.breadcrumb-nav .separator {
  margin: 0 10px;
  color: var(--gray-color);
}
.breadcrumb-nav .current {
  color: var(--primary-color);
  font-weight: 500;
}

/* 新闻详情区域 */
.news-single-section {
  padding: 4rem 0 7rem;
  background-color: white;
}

.news-single-container {
  display: flex;
  gap: 3rem;
}

.news-single-content {
  flex: 2; /* 主内容区占 2/3 */
}

.news-single-sidebar {
  flex: 1; /* 侧边栏占 1/3 */
}

.news-header {
  margin-bottom: 2rem;
}

.news-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-color);
  gap: 1.5rem;
}

.news-meta span {
  display: flex;
  align-items: center;
}

.news-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.news-featured-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-body {
  font-size: 1.1rem;
  color: var(--dark-color);
}

.news-body p {
  margin-bottom: 1.5rem;
}

.news-body h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2.5rem 0 1.5rem;
  color: var(--primary-color);
}

.news-body ul, 
.news-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.news-body li {
  margin-bottom: 0.5rem;
}

.news-body a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.news-body a:hover {
  color: #0d62d0;
  border-bottom-color: #0d62d0;
}

.news-tags {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.tags-label {
  font-weight: 500;
  margin-right: 1rem;
}

.tags-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  background-color: var(--light-color);
  color: var(--gray-color);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
}

/* 相关文章 */
.related-posts {
  margin-top: 4rem;
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--light-color);
  color: var(--dark-color);
  position: relative;
}

.related-posts h3:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.related-post-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-post-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-post-info {
  padding: 1.5rem;
}

.related-post-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
  transition: color 0.3s;
}

.related-post-item:hover .related-post-title {
  color: var(--primary-color);
}

.related-post-date {
  font-size: 0.85rem;
  color: var(--gray-color);
}

/* 营销CTA区块 */
.news-cta {
  margin-top: 4rem;
  background-color: var(--primary-color);
  color: white;
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/id/180/1920/1080') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.news-cta-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.news-cta h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.news-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-light:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
  border-color: #f8f9fa;
  transform: translateY(-2px);
}

/* 侧边栏 */
.sidebar-widget {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.widget-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--light-color);
  color: var(--dark-color);
  position: relative;
}

.widget-title:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

/* 最新文章 */
.recent-posts {
  list-style: none;
  padding: 0;
}

.recent-post-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  transition: transform 0.3s;
}

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

.recent-post-item:hover {
  transform: translateX(5px);
}

.recent-post-img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

.recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--dark-color);
  transition: color 0.3s;
}

.recent-post-item:hover .recent-post-info h4 {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--gray-color);
}
/* 联系表单 */
.contact-section {
  background-color: white;
}

.contact-form {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--dark-color);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
  width: 100%;
}

.contact-form .btn-primary:hover {
  background-color: #0d62d0;
  border-color: #0d62d0;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
}

.contact-info {
  padding: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.info-content h4 {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--gray-color);
  font-size: 0.95rem;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: all 0.3s;
}

.social-link:hover i {
  color: white;
}

/* 页脚 */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.footer-logo i {
  margin-right: 10px;
  font-size: 2rem;
  color: var(--primary-color);
}

.footer p {
  color: #ccc;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-title {
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links a {
  color: #ccc;
  display: block;
  margin-bottom: 0.8rem;
  transition: all 0.3s;
  font-size: 0.95rem;
  text-decoration:none;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .news-single-container {
	flex-direction: column;
  }
  
  .related-posts-grid {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
	background-color: white;
	box-shadow: 0 10px 15px rgba(0,0,0,0.05);
	padding: 1rem;
	border-radius: 10px;
	margin-top: 1rem;
  }
  
  .nav-link {
	margin-left: 0;
	padding: 0.8rem 0;
  }
  
  .news-title {
	font-size: 1.6rem;
  }
  
  .news-single-content,
  .sidebar-widget {
	padding: 1.5rem;
  }
  
  .news-cta {
	padding: 2rem 1.5rem;
  }
  
  .related-posts-grid {
	grid-template-columns: 1fr;
  }
}