﻿/* =====================================================
   文件说明：朗朗文化官网主样式表
   主要功能：定义页面布局、导航栏、轮播图、图片列表、悬浮按钮、搜索框、底部版权等样式
   依赖文件：由less/web/home/目录下的less文件编译生成
   ===================================================== */

/* @font-face: 自定义字体，定义SourceHanSans（思源黑体）字体家族 */
/* src: 字体文件路径，format指定字体格式为opentype */
/* font-weight: 字体粗细，normal为正常粗细 */
@font-face {
  font-family: 'SourceHanSans';
  src: url('https://file.langlang.net.cn/public/assets/assets/fonts/SourceHanSansCN-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* font-weight: bold为粗体 */
@font-face {
  font-family: 'SourceHanSans';
  src: url('https://file.langlang.net.cn/public/assets/assets/fonts/SourceHanSansCN-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* font-weight: 500为中等粗细 */
@font-face {
  font-family: 'SourceHanSans';
  src: url('https://file.langlang.net.cn/public/assets/assets/fonts/SourceHanSansCN-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* @font-face: 自定义字体，定义JiangChengYuanTi（江城圆体）字体家族 */
@font-face {
  font-family: 'JiangChengYuanTi';
  src: url('https://file.langlang.net.cn/public/assets/assets/fonts/%E6%B1%9F%E5%9F%8E%E5%9C%86%E4%BD%93 400W.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'JiangChengYuanTi';
  src: url('https://file.langlang.net.cn/public/assets/assets/fonts/%E6%B1%9F%E5%9F%8E%E5%9C%86%E4%BD%93 500W.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* *: 通配符选择器，匹配所有元素 */
/* margin: 0 清除所有元素默认的外边距 */
/* padding: 0 清除所有元素默认的内边距 */
/* box-sizing: border-box 设置盒模型计算方式为边框盒模型，width和height包含padding和border */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body: 页面主体样式 */
/* font-family: 设置字体为系统默认字体，保证跨平台一致性 */
/* font-size: 14px 设置基础字体大小 */
/* line-height: 1.6 设置行高为字体大小的1.6倍 */
/* color: #333 设置文字颜色为深灰色 */
/* background-color: #fff 设置背景颜色为白色 */
/* overflow-x: hidden 隐藏水平方向溢出的内容 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  background-color: #fff;
  overflow-x: hidden;
}

/* ul, ol: 无序列表和有序列表样式 */
/* list-style: none 移除列表默认的标记符号 */
ul,
ol {
  list-style: none;
}

/* a: 链接样式 */
/* text-decoration: none 移除链接默认的下划线 */
/* color: #333 设置链接颜色为深灰色 */
a {
  text-decoration: none;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
}
.underline-img {
  width: 2.5em;
  height: 2px;
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #accbfa;
  border-radius: 4px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #abc7fa;
}
/* .home-container: 页面主容器，min-height: 100vh 设置最小高度为视口高度，background: #fff 设置背景为白色 */
.home-container {
  min-height: 100vh;
  background: #fff;
  padding-top: 0;
  margin-top: 0;
}

/* .header: 顶部导航栏容器 */
/* width: 100% 设置宽度为100%占满父容器 */
/* background: #fff 设置背景为白色 */
/* position: sticky 设置粘性定位，滚动时固定在顶部 */
/* top: 0 设置距离顶部0px */
/* z-index: 1000 设置层叠顺序，确保导航栏在最上层 */
/* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) 设置底部阴影效果 */
.header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* .neirong: 导航栏内容容器，用于居中和限制最大宽度 */
/* max-width: 1400px 设置最大宽度为1400像素，增大宽度避免文字换行 */
/* margin: 0 auto 设置水平居中 */
/* display: flex 启用Flex布局 */
/* align-items: center 设置垂直居中 */
/* justify-content: space-between 设置水平方向两端对齐 */
/* padding: 0 10px 设置左右内边距，减小内边距让内容更靠近两侧 */
/* height: 80px 设置高度为80像素 */
.neirong {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 80px;
  position: relative;
}

/* .log img: logo图片样式 */
/* height: 50px 设置图片高度为50像素 */
/* object-fit: contain 设置图片保持比例缩放以适应容器 */
.log img {
  height: 50px;
  object-fit: contain;
}

/* .xuanqu: 导航菜单列表，使用Flex布局横向排列 */
.xuanqu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px; /* 减小间距，避免文字换行 */
}
/* .xuanqu li: 导航菜单项 */
/* position: relative 设置相对定位，用于子元素绝对定位参考 */
/* cursor: pointer 设置鼠标指针为手型 */
/* padding: 10px 0 设置上下内边距 */
.xuanqu li {
  position: relative;
  cursor: pointer;
  padding: 10px 0;
}

/* .line-h: 导航菜单文字样式 */
/* font-size: 16px 设置字体大小 */
/* color: #282828 设置文字颜色为深灰 */
/* font-weight: normal 设置字体粗细为正常 */
/* font-family: 'SourceHanSansCN-Normal' 设置思源黑体常规字体 */
/* transition: color 0.1s ease 设置颜色过渡效果 */
/* display: inline-block 设置为行内块元素 */
.line-h {
  font-size: 16px;
  color: #282828;
  font-weight: normal;
  font-family: 'SourceHanSansCN-Normal';
  transition: color 0.1s ease;
  display: inline-block;
}

/* .xuanqu li:hover .line-h: 导航菜单项悬停时的文字样式 */
/* color: #e60044 设置文字颜色为主题红色 */
/* font-family: 'SourceHanSansCN-Bold' 设置为粗体 */
.xuanqu li:hover .line-h {
  color: #e60044;
  font-family: 'SourceHanSansCN-Bold';
}

/* .xuanqu li:hover .underline-img: 导航菜单项悬停时显示下划线图片 */
/* display: block 设置为块级元素显示 */
.xuanqu li:hover .underline-img {
  display: block;
}

/* .xuanqu li.active .line-h: 导航菜单项激活状态样式 */
.xuanqu li.active .line-h {
  color: #e60044;
  font-family: 'SourceHanSansCN-Bold';
}

/* .nav-title-icon: 一级导航标题右侧new图标 */
.nav-title-icon {
  width: 36px;
  height: 20px;
  margin-left: 4px;
  vertical-align: top;
  flex-shrink: 0;
  margin-top: 0px;
}

/* .search-box: 搜索框容器 */
/* position: relative 设置相对定位，用于子元素绝对定位参考 */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid #282828;
  padding: 4px 0; /* 减小上下内边距，使下划线更靠近文字和搜索图标 */
  z-index: 1000;
}

/* .search-input: 搜索输入框样式 */
/* border: none 移除边框 */
/* background: transparent 设置背景透明 */
/* outline: none 移除聚焦时的轮廓线 */
/* font-size: 16px 设置字体大小 */
/* color: #282828 设置文字颜色 */
/* width: 150px 设置宽度 */
.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #282828;
  width: 150px;
}

/* .search-input::placeholder: 输入框占位符样式 */
/* color: #999 设置占位符颜色为灰色 */
.search-input::placeholder {
  color: #999;
}

/* .search-btn: 搜索按钮样式 */
/* background: transparent 设置背景透明 */
/* border: none 移除边框 */
/* width/height: 28px 设置按钮尺寸 */
/* display: flex 启用Flex布局 */
/* align-items/justify-content: center 设置垂直和水平居中 */
/* cursor: pointer 设置鼠标为手型 */
.search-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* .search-btn:hover: 搜索按钮悬停样式 */
.search-btn:hover {
  color: #e60044;
}

/* 搜索结果样式 */
/* .search-results: 搜索结果下拉列表容器 */
/* position: absolute 设置绝对定位，相对于.search-box定位 */
/* top: 100% 设置距离父元素底部100% */
/* z-index: 9999 设置高层叠顺序确保显示在最上层 */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: auto;
  max-width: 400px;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 8px;
  z-index: 9999;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

/* 美化滚动条 */
/* ::-webkit-scrollbar: webkit内核浏览器滚动条样式 */
/* width: 6px 设置滚动条宽度 */
.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.search-result-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #f8f9fa;
  padding-left: 20px;
  color: #e60044;
}

.search-result-item:first-child {
  border-radius: 8px 8px 0 0;
}

.search-result-item:last-child {
  border-radius: 0 0 8px 8px;
}

/* 搜索结果下拉框样式 - 用于导航搜索 */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  max-width: 400px;
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 10000;
}

.search-results-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.search-result-item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.search-result-item:first-child {
  border-radius: 8px 8px 0 0;
}

.search-result-item:hover {
  background-color: #f8f9fa;
  color: #e60044;
  padding-left: 20px;
}

.search-result-title mark {
  background-color: #ffe066;
  color: #333;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: bold;
}

.search-no-results {
  padding: 20px 16px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

.xlk {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 0;
  margin: -10px 0;
  width: auto;
  min-width: fit-content;
  z-index: 1001;
  overflow: visible;
  display: none;
}
.xuanqu li:hover .xlk {
  display: block;
}
.xlk::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #e0e0e0;
  z-index: -1;
}
.xlk::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #fff;
  z-index: 1;
}
.xlk_you {
  display: flex;
  flex-direction: column;
}
.xlk_you a {
  color: #282828;
  text-decoration: none;
  font-size: 16px;
  font-family: 'SourceHanSansCN-Normal';
  padding: 3px 24px;
  transition: all 0.1s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.xlk_you a::before {
  content: '•';
  font-size: 16px;
  color: #282828;
}
.xlk_you a:hover {
  background: #e60044;
  color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}
.xlk_you a:hover::before {
  color: #fff;
}
.nav-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}
.nav-level2 {
  color: #282828;
  text-decoration: none;
  font-size: 16px;
  font-family: 'SourceHanSansCN-Normal';
  padding: 3px 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: normal;
}
a.nav-level2 {
  color: #282828;
  text-decoration: none;
}
.xlk_you a.nav-level2 {
  padding: 3px 16px;
  gap: 4px;
}
.xlk_you a.nav-level2::before {
  content: '•';
  font-size: 16px;
  color: #282828;
}
div.nav-level2 {
  cursor: pointer;
}
.nav-level2::before {
  content: '•';
  font-size: 16px;
  color: #282828;
}
.nav-level2:hover,
.nav-level2.active,
.nav-level2.hover {
  background: #e60044;
  color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}
.nav-level2:hover::before,
.nav-level2.active::before,
.nav-level2.hover::before {
  color: #fff;
}
.nav-level3-dropdown {
  position: absolute;
  left: calc(100% + 6px);
  top: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 8px 0;
  margin: -10px 0;
  width: auto;
  min-width: fit-content;
  z-index: 1002;
  display: none;
  flex-direction: column;
}
.nav-level3-dropdown > a,
.nav-level3-dropdown > .nav-level3-item {
  width: 100%;
  box-sizing: border-box;
}
.nav-item-wrapper:hover .nav-level3-dropdown {
  display: flex;
}
.nav-level3-dropdown::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 10px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 9px solid #fff;
}
.nav-level3-dropdown a {
  color: #282828;
  text-decoration: none;
  font-size: 15px;
  font-family: 'SourceHanSansCN-Normal';
  padding: 3px 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: none;
}
.nav-level3-dropdown a .nav-icon {
  width: 36px;
  height: 20px;
  margin-left: 0px;
  vertical-align: middle;
  flex-shrink: 0;
}
.nav-level3-dropdown a::before {
  display: none;
}
.nav-level3-dropdown a:hover {
  color: #e60044;
  background-color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}
.nav-level3-dropdown a.highlight {
  color: #e60044;
  font-family: 'SourceHanSansCN-Bold';
  background-color: #fff !important;
}
.nav-level3-dropdown .nav-level3-item {
  position: relative;
  display: flex !important;
  flex-direction: row;
  cursor: pointer;
  color: #282828;
  text-decoration: none;
  font-size: 15px;
  font-family: 'SourceHanSansCN-Normal';
  padding: 6px 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.nav-level3-dropdown .nav-level3-item:hover,
.nav-level3-dropdown .nav-level3-item.hover {
  color: #e60044;
  background-color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}

/* 当鼠标悬停在四级导航项上时，保持三级导航项的悬停状态 */
.nav-level3-dropdown .nav-level3-item:hover .nav-level4-dropdown {
  display: flex !important;
  flex-direction: column;
}

/* 当鼠标悬停在四级导航项上时，保持三级导航项的悬停状态 */
.nav-level3-dropdown .nav-level3-item .nav-level4-dropdown:hover {
  display: flex !important;
  flex-direction: column;
}

/* 当鼠标悬停在四级导航项上时，保持三级导航项的悬停状态 */
.nav-level3-dropdown .nav-level3-item:hover .nav-level4-dropdown a:hover {
  color: #e60044;
  background-color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}

/* 关键修复：当鼠标悬停在四级导航项上时，保持三级导航项的悬停状态 */
.nav-level3-dropdown .nav-level3-item:hover {
  color: #e60044;
  font-family: 'SourceHanSansCN-Bold';
}
.nav-level3-dropdown .nav-level3-item::before {
  content: '';
  margin-right: 0;
}
.nav-level3-dropdown .nav-level3-item:hover::before {
  color: #e60044;
}
.nav-level4-dropdown {
  position: absolute;
  left: calc(100% + 10px);
  top: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 8px 0;
  margin: -10px 0;
  width: auto;
  min-width: fit-content;
  z-index: 1003;
  display: none;
}

/* 添加透明连接区域，保持鼠标悬停效果 */
.nav-level4-dropdown::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  width: 10px;
  height: 100%;
  background: transparent;
  pointer-events: auto;
}
.nav-level4-dropdown > a {
  width: 100%;
  box-sizing: border-box;
}
.nav-level3-dropdown .nav-level3-item:hover .nav-level4-dropdown,
.nav-level3-dropdown .nav-level3-item .nav-level4-dropdown:hover {
  display: flex !important;
  flex-direction: column;
}
.nav-level4-dropdown::before {
  content: '';
}
.nav-level4-dropdown a {
  color: #282828;
  text-decoration: none;
  font-size: 15px;
  font-family: 'SourceHanSansCN-Normal';
  padding: 3px 16px;
  transition: all 0.1s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.nav-level4-dropdown a .nav-icon {
  width: 36px;
  height: 20px;
  margin-left: 0px;
  vertical-align: middle;
  flex-shrink: 0;
}
.nav-level4-dropdown a:hover {
  color: #e60044;
  background-color: #fff;
  font-family: 'SourceHanSansCN-Bold';
}
.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  padding: 0;
}
.banner-swiper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
.swiper-slide {
  width: 100%;
  height: auto; /* 高度自动，由图片内容决定 */
  background: transparent;
  overflow: hidden;
  display: block; /* 改为 block 布局 */
}
.swiper-slide a {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-image {
  width: 100%;
  height: auto; /* 高度自动，保持原始比例 */
  object-fit: contain;
  display: block;
}
.swiper-slide-active .carousel-image {
  transform: scale(1.05);
}
.swiper-pagination {
  bottom: 20px !important;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.4);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}
.swiper-button-next {
  right: 30px;
}
.swiper-button-prev {
  left: 30px;
}
.main-content {
  max-width: 1400px;
  margin: 0 auto;
}
.news-section {
  margin-bottom: 80px;
}
.image-list-section {
  display: flex;
  gap: 12px;
  margin-top: 60px;
  justify-content: center;
  height: 580px;
  width: 95%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.image-item {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 12px;
  width: 230px;
  height: 580px;
  flex-shrink: 0;
}
.image-item:hover,
.image-item.active {
  width: 721px;
}
.image-container {
  height: 580px;
  width: 100%;
  border-radius: 12px;
  position: relative;
}
.image-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
  background-color: #f5f5f500;
}
.he-img {
  opacity: 1;
  z-index: 1;
}
.kai-img {
  opacity: 0;
  z-index: 2;
}
.image-item:hover .he-img,
.image-item.active .he-img {
  opacity: 0;
}
.image-item:hover .kai-img,
.image-item.active .kai-img {
  opacity: 1;
}
.expert-section {
  margin-bottom: 80px;
  margin-top: 60px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.expert-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #f5f5f5;
  z-index: -1;
}
.expert-section h2 {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
}
.expert-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  width: 98%;
  max-width: 1600px;
  margin: 0 auto;
}
.expert-marquee-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 200px;
}
.expert-marquee-content {
  display: flex;
  gap: 30px;
  width: fit-content;
  will-change: transform;
  position: absolute;
}
.expert-marquee-left {
  animation: marqueeLeft 30s linear infinite;
}
.expert-marquee-right {
  animation: marqueeRight 30s linear infinite;
}
.expert-marquee-row:hover .expert-marquee-content {
  animation-play-state: paused;
}
.expert-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  transition: width 0.5s ease;
  width: 130px;
  transform: none !important;
}
.expert-item:hover {
  width: 400px;
  transform: none !important;
}
.expert-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: none;
  transition: width 0.5s ease, height 0.5s ease, border-radius 0.5s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  padding: 0;
  transform: none !important;
  cursor: pointer;
}
.expert-avatar:hover {
  width: 400px;
  height: 130px;
  border-radius: 65px;
  box-shadow: none;
  border: none;
  background: transparent;
  justify-content: center;
  padding-left: 0;
  transform: none !important;
}
.avatar-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  transition: width 0.5s ease, height 0.5s ease, border-radius 0.5s ease;
  flex-shrink: 0;
  margin-left: 0;
  transform: none !important;
}
.expert-avatar:hover .avatar-img {
  height: 130px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-left: 0;
  transform: none !important;
}
.expert-name {
  font-size: 14px;
  color: #333;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.project-section {
  margin-top: 0;
  margin-bottom: 80px;
}
.project-section h2 {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
}
.project-content {
  display: flex;
  gap: 60px;
  justify-content: center;
  width: 95%;
  max-width: 1372px;
  margin: 0 auto;
}
.project-item {
  flex: 0 0 656px;
  height: 343px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0);
  background-color: #f0f7ff00;
}
.project-result {
  position: relative;
  overflow: hidden;
}
.course-item {
  position: relative;
  overflow: hidden;
}
.project-scroll-vertical {
  height: 223px;
  overflow: hidden;
  position: absolute;
  top: 100px;
  bottom: 20px;
  left: 0;
  z-index: 1;
  right: 0;
  margin: 0 60px;
}

.project-title-image-wrapper {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-title-image {
  display: block;
  max-width: 50%;
  height: auto;
}

.course-title-image {
  display: block;
  max-width: 70%;
  height: auto;
}
.project-scroll-content {
  height: fit-content;
  will-change: transform;
}
.project-card {
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.5);
  margin: 10px 0;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: 'SourceHanSans', sans-serif;
  text-align: center;
}
.project-card:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.course-item .project-scroll-content {
  will-change: transform;
}
.course-item .course-card {
  padding: 12px 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.5);
  margin: 10px 0;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}
.course-item .course-card:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.simple-footer {
  padding: 40px 0 20px 0;
  margin-top: 40px;
}
.footer-modules {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 110px; /* 增加底部边距，使距离版权信息更远 */
  max-width: 1372px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.quick-entry-module {
  flex: 1;
  max-width: 656px;
  display: flex;
  justify-content: center;
}
.follow-us-module {
  flex: 1;
  max-width: 656px;
  display: flex;
  justify-content: center;
  position: relative;
}
.footer-module {
  position: relative;
  cursor: pointer;
}
.module-title-img {
  display: block;
  height: 36px;
  width: auto;
  margin: 0 auto;
  cursor: pointer;
}
.quick-entry-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
    border-radius: 16px;
  padding: 8px 0;
  min-width: auto;
  width: auto;
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
  margin-top: 3px;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}
.follow-us-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 3px;
  display: none;
    border-radius: 16px;
  padding: 8px 0;
  min-width: 200px;
  width: auto;
  transition: all 0.3s ease;
}
.quick-entry-dropdown.keep-show {
  display: flex !important;
  transform: translateX(-50%) translateY(0);
}
.follow-us-dropdown.keep-show {
  display: block !important;
  transform: translateX(-50%) translateY(0);
}
.follow-us-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.follow-us-dropdown.keep-show ~ .qr-code-display.show {
  display: flex !important;
}
.qr-code-display {
  position: absolute;
  top: calc(100% + 3px);
  left: calc(50% + 110px);
  display: none;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-height: 80px;
  flex-shrink: 0;
  padding: 10px;
}
.dropdown-link {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 2px 20px;
  transition: color 0.3s ease;
  text-align: center;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}
.dropdown-link:hover {
  color: #161616;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 500;
}
.dropdown-link.highlight {
  color: #161616;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 500;
}
.follow-us-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.follow-text {
  display: block;
  color: #000000;
  text-decoration: none;
  padding: 2px 20px;
  transition: color 0.3s ease;
  white-space: nowrap;
  text-align: center;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
}
.follow-us-item:hover .follow-text {
  color: #161616;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 500;
}
.follow-us-item.highlight .follow-text {
  color: #161616;
  font-family: 'JiangChengYuanTi', sans-serif;
  font-weight: 500;
}

.qr-code-display img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}
.qr-code-display img.show {
  opacity: 1;
}
.banquan {
  text-align: center;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin-top: 200px;
}
.banquan-links {
  margin-top: 8px;
}
.banquan-links a {
  color: #333;
  text-decoration: none;
  margin: 0 8px;
}
.banquan-links a:hover {
  color: #333;
}
.banquan-links span {
  margin: 0 8px;
}
.floating-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  width: 160px;
  height: 360px;
  padding: 40px 16px 16px;
}
.floating-buttons-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  max-width: 100%;
  z-index: -1;
}
.floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  background: transparent;
  gap: 4px;
  margin-bottom: 10px;
  position: relative;
}
.floating-btn:hover {
  transform: translateY(-3px);
}
.btn-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.btn-text {
  font-size: 12px;
  color: #000000;
  text-align: center;
  font-weight: 300;
  font-family: 'SourceHanSansCN-Light', sans-serif;
}
.btn-phone {
  font-size: 14px;
  color: #000000;
  text-align: left;
  font-weight: 400;
  font-family: 'SourceHanSansCN-Light', sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  z-index: 1001;
}
.floating-btn:hover .btn-phone {
  opacity: 1;
  visibility: visible;
}
.after-sales {
  transform: translateY(-16px);
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.preview-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}
.preview-image {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  border-radius: 4px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fangda {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes scrollUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
.fadeIn {
  animation: fadeIn 1s ease;
}
.fangda {
  animation: fangda 0.75s ease;
}
@media (max-width: 1200px) {
  .neirong {
    padding: 0 15px;
  }
  .xuanqu {
    gap: 30px;
  }
  .xuanqu li {
    padding: 8px 0;
  }
  .line-h {
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  .neirong {
    flex-wrap: wrap;
    height: auto;
    padding: 15px;
  }
  .log img {
    height: 40px;
  }
  .xuanqu {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    order: 3;
    width: 100%;
    margin-top: 10px;
  }
  .xuanqu li {
    padding: 5px 0;
  }
  .line-h {
    font-size: 14px;
  }
  .search-box {
    order: 2;
  }
  .banner-swiper {
    height: 400px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }
  .swiper-button-next {
    right: 15px;
  }
  .swiper-button-prev {
    left: 15px;
  }
  .image-list-section {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
  }
  .image-item {
    width: calc(50% - 5px);
    height: 300px;
  }
  .image-item:hover,
  .image-item.active {
    width: calc(50% - 5px);
  }
  .expert-marquee-row {
    height: 120px;
  }
  .expert-item {
    width: 100px;
    height: 120px;
  }
  .expert-item img {
    width: 80px;
    height: 80px;
  }
  .project-content {
    flex-direction: column;
    gap: 30px;
  }
  .project-item,
  .course-item {
    max-width: 100%;
    height: 350px;
  }
  .footer-modules {
    flex-direction: column;
    gap: 40px;
  }
  .floating-buttons {
    right: 10px;
    width: 140px;
    height: 320px;
    padding: 15px;
  }
  .floating-btn {
    gap: 6px;
  }
  .btn-icon-img {
    width: 28px;
    height: 28px;
  }
  .btn-text {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .banner-swiper {
    height: 300px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .image-item {
    width: 100%;
    height: 250px;
  }
  .image-item:hover,
  .image-item.active {
    width: 100%;
  }
  .expert-marquee-container {
    gap: 20px;
  }
  .expert-marquee-row {
    height: 100px;
  }
  .expert-item {
    width: 80px;
    height: 100px;
  }
  .expert-item img {
    width: 60px;
    height: 60px;
  }
  .project-item,
  .course-item {
    height: 300px;
  }
  .banquan-links {
    flex-direction: column;
    gap: 10px;
  }
  .floating-buttons {
    right: 5px;
    width: 120px;
    height: 280px;
    padding: 10px;
  }
  .btn-icon-img {
    width: 24px;
    height: 24px;
  }
  .btn-text {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .neirong {
    padding: 10px;
  }
  .log img {
    height: 35px;
  }
  .xuanqu {
    gap: 15px;
  }
  .line-h {
    font-size: 13px;
  }
  .search-input {
    width: 120px;
    font-size: 14px;
  }
  .banner-swiper {
    height: 250px;
  }
  .image-item {
    height: 200px;
  }
  .expert-item {
    width: 70px;
    height: 90px;
  }
  .expert-item img {
    width: 50px;
    height: 50px;
  }
  .project-item,
  .course-item {
    height: 250px;
  }
}

/* 移动端导航启用时隐藏悬浮按钮和底部版权 */
html.mobile-nav-enabled .floating-buttons,
html.mobile-nav-enabled .simple-footer {
    display: none !important;
}

/* 背景图 img 标签样式 */
.project-bg-img,
.course-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.dropdown-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 16px;
}

.btn-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}
