body {
  margin: 0;
  font-family: "微软雅黑", Arial, sans-serif;
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

/* 确保body和html样式正确 */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 移除滚动限制 */
body.no-scroll {
  overflow: auto !important;
}

ul {
  margin: 0;
  padding: 0;
}

/* 首屏样式：全屏，无滚动条 */
.home-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

/* 滚动容器样式 */
.scroll-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ==================== 顶部导航 ==================== */
.header-container {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  box-sizing: border-box;
  z-index: 2;
}
.BJTM {
  height: 185px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}
/* 第一屏导航栏的动画样式 */
.header {
  min-width: 320px;
  padding: 0 5%;
  color: #fff;
  position: relative;
  /*默认相对定位*/
  background-color: transparent;
  /*默认透明背景*/
  transform: translateY(-120%);
  /*适度的初始偏移，适合学校网站的庄重感*/
  opacity: 0;
  transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out;
  /*更长时间和更平滑的缓动函数*/ /*使用硬件加速*/
  will-change: transform, opacity;
  -webkit-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out;
  -moz-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out;
  -ms-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out;
  -o-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out;
}

/* 显示第一屏导航栏的类 */
.header.show {
  transform: translateY(0); /* 移动到正常位置 */
  opacity: 1; /* 透明度为1 */
}

/* 轮播图样式 */
.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1; /* 保持与导航栏的层级关系 */
  cursor: grab;
  user-select: none; /* 防止拖拽时选中文本 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 导航栏容器样式 - 防止拖拽时选中文本 */
.header-container {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 导航栏文本元素样式 - 防止拖拽时选中文本 */
.header-container * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 导航栏链接特殊处理 - 允许正常点击但防止拖拽选择 */
.header-container a {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  /* 确保导航栏链接可以接收事件 */
  pointer-events: auto;
}

/* 确保导航栏中的其他可交互元素也能接收事件 */
.header-container button,
.header-container input,
.header-container select,
.header-container textarea,
.header-container [tabindex]:not([tabindex="-1"]),
.header-container .dropdown-menu,
.header-container .dropdown-menu * {
  pointer-events: auto;
}

/* 拖拽时的全局样式 */
.carousel-container:active,
.header-container:active {
  cursor: grabbing;
}

/* 拖拽时显示抓取状态 */
.carousel-container:active {
  cursor: grabbing;
}

/* 轮播图组件内部样式 */
.full-screen-carousel {
  width: 100%;
  height: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel-slide {
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 移除可能阻止事件的样式 */
  pointer-events: auto;
}

/* 拖拽时禁用过渡动画 */
.carousel-container:active .carousel-track {
  transition: none;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  /* 防止文本选择 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.carousel-slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  overflow: hidden;
  /* 为轮播图添加缩放效果 */
  transition: transform 0.6s ease-out;
  /* 防止文本选择 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 当前显示的轮播图应用放大动画 */
.carousel-slide.active {
  animation: zoomIn 6s ease-in-out forwards;
}

/* 拖拽时禁用过渡动画，确保拖拽流畅 */
.carousel-container:active .carousel-track {
  transition: none;
}

/* 定义放大动画 */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 放大到1.15倍，效果更明显 */
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 防止图片拖拽 */
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* 轮播图控制按钮 */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

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

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

/* 轮播图小圆点指示器样式 */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  right: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 放大图片的模态框样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  cursor: default;
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #1874c2;
}

/* 第二屏固定导航栏 */
.header-sticky {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: #fff !important;
  /*白色背景*/
  color: #222 !important;
  /*黑色文字*/
  padding: 0 5% !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-120%); /* 适度的初始偏移，与第一屏保持一致 */
  opacity: 0;
  transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out, background-color 2s ease;
  -webkit-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out, background-color 2s ease;
  -moz-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out, background-color 2s ease;
  -ms-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out, background-color 2s ease;
  -o-transition: transform 2s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 2s ease-in-out, background-color 2s ease;
}

/* 显示第二屏导航栏的类 */
.header-sticky.show {
  transform: translateY(0); /* 移动到正常位置 */
  opacity: 1; /* 透明度为1 */
}

/* 第二屏导航栏链接样式 */
.header-sticky .nav li a {
  color: #222 !important;
}

.header-sticky .nav li.active a,
.header-sticky .nav li a:hover {
  border-bottom: 3px solid #1874c2 !important;
  color: #1874c2 !important;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px; /* 最大宽度 */
  margin: 0 auto;
  padding: 35px 40px 20px 20px;
  box-sizing: border-box;
}

.logo {
  width: 351px;
  height: 63px;
  flex-shrink: 0; /* 防止缩小 */
}

.logo img {
  width: 100%;
  height: 100%;
}

.header-title {
  display: flex;
}

.header-title p {
  width: 40px;
  font-size: 16px;
  color: #fac1c0;
  text-align: center;
  cursor: pointer;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  width: 352px;
  height: 35px;
  border: 1px solid #ffffff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
}

.header-search .shou-icon {
  position: absolute;
  top: 27%;
  right: 17px;
  width: 17px;
  height: 17px;
  cursor: pointer;
}
.nav {
  width: 100%;
  max-width: 1250px; /* 最大宽度 */
  margin: 0 auto;
  /* flex-shrink: 0; 防止缩小 */
}
.Internal {
  width: 159px;
  height: 30px;
  margin-left: 78%;
  text-align: center;
  border-radius: 15px;
  border: 1px solid #ffffff;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  cursor: pointer;
  /* flex-shrink: 0; 防止缩小 */
}
.Internal-content {
  margin-top: 5px;
}
.Internal-img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
.nav-list {
  margin-top: 23px !important;
}
.nav ul {
  margin-top: 0px;
  display: flex;
  /* padding: 0 40px; */
  padding: 0 20px;
  list-style: none;
  justify-content: center;
}

.nav li {
  margin-right: 30px;
}

.nav li a {
  display: block;
  padding: 2px 0;
  font-size: 19px;
  color: #fff;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav li.active a,
.nav li a:hover {
  border-bottom: 3px solid #fff;
}

/* 响应式设计 - 小屏幕优化 */
@media (max-width: 768px) {
  .header-bar {
    padding: 20px 15px;
    flex-direction: column; /* 小屏幕上垂直排列 */
    align-items: center;
  }

  .logo {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
  }

  .nav {
    width: 100%;
    padding: 0 10px;
  }

  .Internal {
    width: 130px;
    font-size: 12px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    gap: 8px;
  }

  .nav li a {
    font-size: 14px;
    padding: 2px 5px;
  }
}

@media (max-width: 480px) {
  .nav ul {
    gap: 5px;
  }

  .nav li a {
    font-size: 12px;
    padding: 2px 3px;
  }
}
/* 第二屏样式：全屏，内部可滚动，初始在屏幕下方 */
.overview-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;
  transform: translateY(100vh);
  transition: transform 0.5s ease;
}

/* ==================== 学校概况 ==================== */
.brand-activity {
  background-color: #fff;
  position: relative;
  padding: 40px 0;
}

.exhibition-box {
  display: flex;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 0 50px;
  box-sizing: border-box;
  position: relative;
}

/* 创建从左侧延伸的背景色 */
.brand-activity-img-wrapper {
  position: absolute;
  left: 0;
  width: calc(30% + 10vw); /* 动态宽度：基础30%加上视口宽度的10% */
  height: 99px;
  background-color: #e7f1f9;
  border-top-right-radius: 60px 40px;
  border-bottom-right-radius: 60px 40px;
  margin-top: 37px;
}

.brand-activity-img {
  margin-bottom: 35px;
  display: flex;
  box-sizing: border-box;
  margin-top: 37px;
  padding: 24px 46px 26px 46px;
  width: 683px;
  height: 99px;
  /* background-color: #e7f1f9;
  border-top-right-radius: 60px 40px;
  border-bottom-right-radius: 60px 40px; */
}

.brand-activity-content2 {
  width: 100%;
  max-width: 1600px;
  margin: 20px auto 0;
  padding: 0 50px;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  line-height: 32px;
  text-align: justify; /* 两端对齐文本 */
}
/* ==================== 学校要闻 ==================== */
.red-exhibition {
  background: url("/src/image/xxyw.png") no-repeat center center;
  background-size: cover;
}
.red-exhibition .exhibition-box {
  display: flex;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 0 50px;
  box-sizing: border-box;
}

.brand-activity-img2 {
  display: flex;
  box-sizing: border-box;
  margin-top: 37px;
  padding: 24px 46px 26px 46px; /* 移除左侧的大边距 */
  width: 683px;
  height: 99px;
}

.brand-activity-content2-box {
  width: 100%;
  max-width: 1600px;
  margin: 20px auto 0;
  padding: 0 50px;
  box-sizing: border-box;
}

.brand-activity-img-content {
  width: 58px;
  height: 52px;
  text-align: center;
  box-sizing: border-box;
  background: #1874c2;
  border-radius: 10px;
  line-height: 70px;
}

/* .brand-activity-img-content img {
  margin-top: 7px;
} */

.brand-activity-text {
  margin-left: 14px;
}

.brand-activity-title {
  font-weight: bold;
  font-size: 30px;
  color: #000000;
}

.title-bold {
  color: #1874c2;
}
.title-bold2 {
  font-weight: 400;
  font-size: 12px;
  color: #999999;
}
.brand-activity-btn {
  width: 260px;
  height: 9px;
}
.brand-activity-btn img {
  width: 100%;
  height: 100%;
}

.brand-activity-content {
  width: 100px;
  height: 13px;
  font-weight: 400;
  font-size: 15px;
  color: #ee9404;
  margin-top: 78px;
  cursor: pointer;
}

.brand-activity-content2-box {
  display: flex;
  width: 1600px;
  margin: 0 auto;
  justify-content: center;
  /* background-color: #1874c2; */
}

.brand-activity-content3 {
  position: relative;
  margin-right: 34px;
}

.brand-activity-content2-item1 {
  width: 553px;
  height: 540px;
}

.brand-activity-content2-item1-img {
  width: 553px;
  height: 386px;
}
.brand-activity-content2-item1-img img {
  width: 100%;
  height: 100%;
}
.brand-activity-content2-item1-text {
  position: absolute;
  width: 512px;
  height: 154px;
  bottom: 5%;
  right: 4%;
  background: #ffffff;
  padding: 0 25px;
  box-sizing: border-box;
  border-bottom: 2px solid #1874c2;
}
.time {
  position: absolute;
  width: 77px;
  height: 77px;
  padding: 3px;
  bottom: 80%;
  right: 7%;
  background: #1874c2;
  border-radius: 8px;
  box-sizing: border-box;
}
.time-content {
  text-align: center;
  width: 67px;
  height: 67px;
  background: #1874c2;
  border-radius: 8px;
  border: 2px dotted #89c9ff;
}
.time-content-day {
  font-weight: 400;
  font-size: 32px;
  color: #ffffff;
}
.time-content-month {
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
}
.brand-activity-content2-item1-text-title {
  margin-top: 38px;
  margin-bottom: 14px;
  font-weight: bold;
  font-size: 20px;
  color: #000000;
}
.brand-activity-content2-item1-text-title2 {
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
}
.brand-activity-content2-item2 {
  width: 747px;
  /* height: 480px; */
}
ul {
  display: flex;
  flex-wrap: wrap;
}
ul .Li-Li {
  margin-right: 26px;
  margin-bottom: 26px;
  padding: 20px 0px 28px 0px;
  box-sizing: border-box;
  list-style: none;
  width: 344px;
  height: 144px;
  background: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}
.Li-top {
  padding: 0 29px;
  display: flex;
  justify-content: center;
}

.time-box {
  width: 100px;
  height: 80px;
}

.time1-content-day {
  font-weight: 400;
  font-size: 36px;
  color: #000000;
}
.time2-content-month {
  font-weight: 400;
  font-size: 12px;
  color: #000000;
}
.Li-text {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #000000;
}

.Li-bottom {
  height: 43px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #cccccc;
}

.Li-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1874c2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

.Li-bottom:hover::before {
  transform: scaleX(1);
}

.Li-bottom-text {
  margin-left: 29px;
  margin-top: 10px;
  font-weight: 400;
  font-size: 15px;
  color: #666666;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.Li-bottom:hover .Li-bottom-text {
  color: #ffffff;
}

.JT {
  margin-right: 29px;
  font-size: 28px;
  font-weight: 400;
  color: #666666;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.Li-bottom:hover .JT {
  color: #ffffff;
}
/* ==================== 页脚 ==================== */
.footer {
  /* height: 118px; */
  background: #1874c2;
}

.footer-box {
  display: flex;
  width: 1250px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.footer-content {
  width: 370px;
  height: 61px;
}

.footer-content img {
  width: 100%;
  height: 100%;
}

.Zhon-X {
  width: 1px;
  height: 48px;
  margin: 0 28px;
  background: #ffffff;
  opacity: 0.32;
}

.footer-text {
  font-size: 16px;
  color: #ffffff;
  line-height: 12px;
  padding: 26px 0;
  font-weight: 400;
}

.footer-text p span {
  margin-right: 10px;
}

.footer-text-p {
  text-align: center;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100000;
  cursor: pointer;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

.arrow-down {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(-45deg);
    -webkit-transform: translateY(0) rotate(-45deg);
    -moz-transform: translateY(0) rotate(-45deg);
    -ms-transform: translateY(0) rotate(-45deg);
    -o-transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-15px) rotate(-45deg);
    -webkit-transform: translateY(-15px) rotate(-45deg);
    -moz-transform: translateY(-15px) rotate(-45deg);
    -ms-transform: translateY(-15px) rotate(-45deg);
    -o-transform: translateY(-15px) rotate(-45deg);
  }
  60% {
    transform: translateY(-8px) rotate(-45deg);
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==================== 飘窗样式 ==================== */
.floating-popup {
  position: fixed;
  width: 302px;
  height: 192px;
  z-index: 10000; /* 确保飘窗在最顶层 */
  cursor: pointer;
  transition: none; /* 移除过渡效果，以便自由移动 */
}

.popup-content {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

.popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-close {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 14px;
  font-weight: bold;
  color: red;
  cursor: pointer;
}

.popup-close:hover {
  color: #1874c2;
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: block;
  text-decoration: none;
  color: inherit;
}

.PY {
  transform: translateX(-20%);
}

.nav-list .dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  z-index: 1000;
  display: block;
  margin-top: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  /* 初始状态：隐藏 */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20%) translateY(-10px);
  /* 添加过渡动画 */
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* 菜单的一级菜单项添加样式提示 */
.nav-list .dropdown > a.dropdown-toggle {
  cursor: default; /* 鼠标指针变为默认，不显示手形 */
  user-select: none; /* 防止文本被选择 */
}

/* 二级菜单项 */
.nav-list .dropdown .dropdown-menu a {
  cursor: pointer; /* 鼠标指针恢复为手形 */
}

.dropdown-menu li {
  /* width: 87px;
  height: 31px;  */
  line-height: 31px;
  text-align: center;
  margin: 0;
  padding: 0;
}

.dropdown-menu li a:hover {
  color: #1874c2;
}

.dropdown-menu li a {
  display: inline-block;
  height: 31px;
  line-height: 31px;
  padding: 0 15px;
  margin-top: 10px;
  box-sizing: border-box;
  font-size: 19px;
  text-align: center;
  text-decoration: none;
  color: #000;
  white-space: nowrap; /* 防止文字换行 */
}

.dropdown:hover .dropdown-menu {
  /* 鼠标悬停时显示：使用过渡动画 */
  opacity: 1;
  visibility: visible;
  transform: translateX(-20%) translateY(0);
}
