/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 容器通用样式 */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
  }
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #483d8b;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
}

/* 主导航 */
.header-nav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  color: #483d8b;
  font-weight: bold;
}

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

.nav-list li {
  margin-left: 25px;
}

.nav-list li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-list li a.active,
.nav-list li a:hover {
  color: #483d8b;
  font-weight: bold;
}

/* 轮播图样式 */
.banner {
  margin: 20px 0;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.banner-item.active {
  opacity: 1;
}

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

.banner-text {
  position: absolute;
  left: 50px;
  bottom: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
}

.banner-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 16px;
  margin-bottom: 15px;
}

.banner-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #483d8b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.banner-btn:hover {
  background-color: #6959b6;
}

/* 轮播控制按钮 */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

/* 轮播指示器 */
.banner-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-indicators span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.banner-indicators span.active {
  background: #483d8b;
}

/* 主内容布局 */
.main-content {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.left-content {
  flex: 7;
}

.right-sidebar {
  flex: 3;
}

/* 内容板块样式 */
.content-block {
  margin-bottom: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-block h2 {
  font-size: 22px;
  color: #483d8b;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.content-img {
  margin: 20px 0;
  text-align: center;
}

.content-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-block p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.content-block ul,
.content-block ol {
  margin: 15px 0 15px 20px;
  line-height: 1.8;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.content-table th,
.content-table td {
  padding: 12px;
  border: 1px solid #eee;
  text-align: left;
}

.content-table th {
  background-color: #f8f9fa;
  color: #483d8b;
}

/* 侧边栏样式 */
.sidebar-card {
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  font-size: 18px;
  color: #483d8b;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.hot-keywords {
  list-style: none;
}

.hot-keywords li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  color: #666;
}

.data-list {
  margin-top: 15px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.data-label {
  color: #666;
}

.data-value {
  color: #483d8b;
  font-weight: bold;
}

/* 文章列表样式 */
.article-list {
  margin-top: 20px;
}

.article-item {
  padding: 15px;
  border-bottom: 1px dashed #eee;
  margin-bottom: 15px;
}

.article-item h4 {
  font-size: 18px;
  color: #483d8b;
  margin-bottom: 10px;
}

.article-link {
  display: inline-block;
  margin-top: 10px;
  color: #483d8b;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #483d8b;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.article-link:hover {
  background-color: #483d8b;
  color: #fff;
}

/* 页脚样式 */
.footer {
  background-color: #f8f9fa;
  padding: 30px 0;
  margin-top: 50px;
  border-top: 1px solid #eee;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  color: #666;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #483d8b;
}

.copyright {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .banner-slider {
    height: 250px;
  }

  .banner-text {
    left: 20px;
    bottom: 20px;
    padding: 10px;
  }

  .banner-text h2 {
    font-size: 20px;
  }

  .banner-text p {
    font-size: 14px;
  }
}