/* CSS Reset - 默认样式重置 */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

.mobile-search-popup {
  display: none;
}

/* 基础样式设置 */
html {
  height: 100%;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

@font-face {
  font-family: MyFont;
  src: url('../fonts/FZCSJW.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 auto;
}


/* 链接样式 */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0;
}

.party-building-image .active {
  display: block;
}

/* 标题样式重置 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: inherit;
  line-height: inherit;
}

/* 列表样式重置 */
ul,
ol {
  list-style: none;
}

/* 表格样式重置 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
  text-align: left;
}

/* 表单元素样式重置 */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* 图片样式 */
img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* 其他元素样式重置 */
p {
  margin: 0;
}

em,
i {
  font-style: normal;
}

strong,
b {
  font-weight: normal;
}

/* 移动端触摸优化 */
button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

/* 滚动条样式（Webkit） */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 选中文本样式 */
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

::-moz-selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}



/* 容器样式 */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* 顶部信息栏样式 */
.top-bar {
  width: 100%;
  background: url('../image/headBg.png') no-repeat center top;
  background-size: cover;
  position: absolute;
  z-index: 100;
  top: 0;
}

/* Logo区域样式 */
.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  max-width: 1450px;
  margin: 0 auto;
  border-bottom: 1px solid #fff;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 100%;
}

.top-links {
  display: flex;
}

/* 顶部链接样式 */
.top-links ul {
  display: flex;
  align-items: center;
}

.top-links li {
  color: #fff;
}

.top-links li a {
  padding: 0 15px;
  font-size: 20px;
  position: relative;

}

.top-links li a::after {
  display: block;
  content: "";
  width: 1px;
  height: 80%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
}

.top-links li:last-child a::after {
  display: none;
}

.top-links a:hover {
  color: #f0f0f0;
}

/* 搜索框样式 */
.search-container {
  margin-left: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-text {
  width: 0;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  background: transparent;
  color: #fff;
  margin-right: 5px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-container:hover .search-text {
  width: 150px;
  padding: 0 10px;
  opacity: 1;
  visibility: visible;
}

.search-text::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-btn {
  width: 32px;
  height: 32px;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  background: url("../image/search.png") no-repeat;
  position: absolute;
}

.search-btn:hover {
  opacity: 0.9;
}

/* 导航菜单样式 */
.nav-container {
  width: 100%;
}

.nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.main-nav {
  display: flex;
  justify-content: space-between;
}

.main-nav>li {
  position: relative;
}

.main-nav>li>a {
  display: block;
  padding: 15px 10px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  white-space: nowrap;
}

/* 只在PC端启用hover背景色效果 */
@media (min-width: 769px) {
  .main-nav>li:hover>a {
    background-color: #003d75;
  }
}

/* 下拉菜单样式 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  background-color: rgba(255,255,255,.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
}

/* 只在PC端启用hover效果 */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  white-space: nowrap;
  text-align: center;
font-size:18px;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: #0057a8;
}

/* Banner轮播图样式 */
.banner-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1920px;
}

.banner-swiper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  position: relative;
}

.banner-container .swiper-slide img {
  height: 670px;
}

.swiper-slide img {
  width: 100%;
  display: block;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10%;
  z-index: 10;
}

.banner-text {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-title {
  font-family: 'MyFont', sans-serif;
  font-size: 42px;
  margin-bottom: 20px;
  color: #ff4e00;
}

.banner-subtitle {
  font-family: 'MyFont', sans-serif;
  font-size: 24px;
  color: #fff;
}

/* 轮播导航按钮样式 */
.banner-container {
  position: relative;
}

.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
}

/* 将按钮定位在中间1400px区域的左右两侧 */
.banner-container:before,
.banner-container:after {
  content: '';
  position: absolute;
  top: 0;
  width: calc((100% - 1400px) / 2);
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.banner-container:before {
  left: 0;
}

.banner-container:after {
  right: 0;
}

.banner-swiper .swiper-button-next {
  right: calc((100% - 1400px) / 2 + 20px) !important;
}

.banner-swiper .swiper-button-prev {
  left: calc((100% - 1400px) / 2 + 20px) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  content: '';
}

.swiper-button-next img,
.swiper-button-prev img {
  width: 100%;
  /* height: 24px; */
}


/* banner */
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

/* 新闻通知公告区域样式 */
.news-notice-section {
  width: 100%;
  background: url('../image/newsBg.png') no-repeat center;
  background-size: 100% 100%;
  padding: 10px 0;
  margin: 0 auto;
  max-width: 1920px;
}

.news-notice-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

/* 左侧新闻区域样式 */
.news-area {
  width: 900px;
  border-radius: 5px;
}

/* 右侧通知公告区域样式 */
.notice-area {
  width: 450px;
  border-radius: 5px;
  background-size: cover;
  position: relative;
}

/* 通知公告列表样式 */
.notice-list {
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.tzggBg {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 440px;
  height: 470px;
}

.notice-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f0f0f0;
}

.notice-item:nth-child(4) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* 日期样式 */
.notice-date {
  width: 65px;
  height: 65px;
  border-radius: 5px;
  border: 1px solid #0072be;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.date-num {
  font-size: 33px;
  font-weight: bold;
  color: #0068b7;
  line-height: 1;
  margin-bottom: 5px;
}

.date-year {
  font-size: 12px;
  color: #0068b7;
}

/* 通知内容样式 */
.notice-content {
  flex: 1;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.notice-content a {}

.notice-content:hover {
  color: #0072be;
}

.notice-item:hover {
  border-bottom: 1px solid #0072be;
}

.notice-item:last-child {
  border: none;
}

/* 区域标题样式 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background: url('../image/newsTitleBg.png') no-repeat left;
  margin-bottom: 10px;
}

.section-title {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  position: relative;
  padding-left: 30px;
}

.section-title span {
  position: relative;
  z-index: 1;
  position: relative;
  top: 10px;
}

.more-link {
  font-size: 18px;
  color: #404040;
  display: flex;
  align-items: center;
  gap: 5px;
}

.more-link img {
  height: 16px;
}

/* 新闻轮播图样式 */
.news-slider-container {
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.news-slide-content {
  display: flex;
  background-color: #f9f9f9;
  overflow: hidden;
}

.news-image {
  width: 500px;
  height: 320px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: url("../image/newsContentBg.png") no-repeat center;
  align-items: flex-end;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #0068b7;
  margin-bottom: 15px;
  line-height: 1.4;
  padding: 25px 30px 0;
}

.news-summary {
  color: #404040;
  line-height: 1.8;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  padding: 5px 30px 0;

}

.news-time {
  display: flex;
  align-items: center;
  color: #fff;
  width: auto;
  height: auto;
  background: linear-gradient(to right, #0dadec 0%, #fff 100%);
  padding: 5px 30px 5px 10px;
  border-radius: 30px 0 0 30px;
}

.news-time img {
  width: 15px;
  /* height: 16px; */
  margin-right: 5px;
}

/* 分页器样式 */
.news-pagination {
  text-align: center;
  margin-top: 15px;
  display: flex;
  justify-content: right;
  gap: 10px;
  width: auto;
  width: 400px !important;
  right: 10% !important;
  position: absolute;
  bottom: 30px !important;
  left: initial !important;
}

.swiper-pagination-bullet {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  opacity: 1 !important;
  color: #8c8c8c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 36px;
}

.swiper-pagination-bullet-active {
  background: #00a9ec !important;
  color: #fff;
}

/* 新闻列表样式 */
.news-list {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.news-item {
  border-bottom: 1px dashed #eee;
  width: 280px;
  display: flex;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #0072be;
  min-height: 120px;
  position: relative;
}

.news-item h3 {
  font-size: 18px;
  font-weight: normal;
  color: #404040;
  transition: all 0.3s ease;
  /* 超出三行 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
  /* 3行文字的近似高度 */
}

.news-item:hover h3 {
  color: #0057a8;
}

.news-date {
  color: #fff;
  font-size: 14px;
  display: block;
  width: 120px;
  height: 30px;
  background-color: #0072be;
  text-align: center;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -15px;
  right: 0;
  border-radius: 30px 0 0 30px;

}

.news-date img {
  margin-right: 5px;
}

/* 学术看板区域样式 */
.academic-board-section {
  width: 100%;
  background: url('../image/xskbBg.png') no-repeat;
  margin-top: 30px;
  max-width: 1920px;
  margin: 20px auto;
}

.academic-board-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.academic-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* 使用与新闻通知区域相同的标题样式 */
.academic-board-section .section-title {
  color: #fff;
}

.academic-board-section .more-link {
  color: #fff;
}



/* 学术看板轮播图样式 */
.academic-swiper-container {
  position: relative;
  overflow: hidden;
}

.academic-swiper .swiper-slide {
  position: relative;
}

.academic-swiper .swiper-slide::before {
  width: 100%;
  height: 170px;
  content: '';
  position: absolute;
  display: block;
}

.academic-swiper .swiper-slide:nth-child(odd)::before {
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, #00b7ee 0%, #18a5ed 100%);
  /* background-color: #fff; */
}

.academic-swiper .swiper-slide:nth-child(odd) .academic-slide-box {
  height: 400px;
  margin-top: 20px;
}

.academic-swiper .swiper-slide:nth-child(even) .academic-slide-box {
  height: 400px;
  margin-bottom: 20px;
}

.academic-swiper .swiper-slide:nth-child(even)::before {
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, #f8c370 0%, #fba980 100%);
  /* background-color: #fff; */
}

.academic-swiper {
  overflow: visible;
}

.academic-slide-box {
  height: 420px;
  overflow: hidden;
  width: 92%;
  margin: 0 auto;
}

.academic-slide-content {
  position: relative;
  height: 100%;
  /* display: flex; */

}

.academic-slide-img {
  width: auto;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.academic-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academic-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 230px;
  height: 300px;
  border-radius: 120px 120px 0 0;
  background: rgba(13, 109, 183, .8);
}

.academic-lecture-title {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.academic-divider {
  margin-bottom: 15px;
}

.academic-info-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.academic-meta-item {
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #666;
}

.meta-label {
  margin-right: 5px;
  color: #fff;
  font-weight: bold;
}

.meta-value {
  /* font-weight: 500; */
  color: #fff;
  opacity: .8;
}

/* 进度条和切换按钮样式 */
.academic-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.academic-progress {
  flex: 1;
  height: 4px;
  background-color: #e5e5e5;
  border-radius: 2px;
  position: relative;
  margin-right: 20px;
}

.academic-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #00a0e9;
  border-radius: 2px;
  width: 25%;
  transition: width 0.3s ease;
}

.academic-navigation {
  display: flex;
  gap: 10px;
}

.academic-button-prev,
.academic-button-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.academic-button-prev img,
.academic-button-next img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 党建工作区域样式 */
.party-building-section {
  width: 100%;
  background: url("../image/djgzBg.png") no-repeat;
  padding: 0px 0 180px;
  margin: 0 auto;
  max-width: 1920px;
}

.party-building-container {
  max-width: 1400px;
  margin: 0 auto;
}

.party-building-content {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.party-building-links {
  width: 630px;
  /* padding: 20px 30px; */
}

.party-building-item {
  margin-bottom: 10px;
  border-bottom: 1px dashed #eaeaea;
  padding-bottom: 20px;
  padding: 20px;
}

.party-building-item:hover {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
}

.party-building-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  /* padding-bottom: 0; */
}

.party-building-item a {
  display: block;
  transition: all 0.3s ease;
}

.party-building-item a:hover .party-title {
  color: #0068b7;
  font-weight: bold;
}

.party-date {
  color: #0068b7;
  font-size: 18px;
  margin-bottom: 8px;
}

.party-title {
  font-size: 20px;
  color: #404040;
  line-height: 1.5;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.party-building-image {
  width: 710px;
  background: url("../image/djgzImgBgBlue.png") no-repeat right bottom;
  overflow: hidden;
}

.party-building-image img {
  width: 98%;
  height: 98%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: none;
}

.party-building-image:hover img {
  transform: scale(1.05);
}

/* 师生风采区域样式 */
.teacher-student-section {
  width: 100%;
  padding: 0 0 50px;
  background: url("../image/ssfcBg.png") no-repeat bottom;
  margin: 0 auto;
  margin-top: -160px;
  max-width: 1920px;
background-size:100% 70%;
}

.teacher-student-container {
  max-width: 1400px;
  margin: 0 auto;
}

.teacher-student-swiper-container {
  position: relative;
  margin-top: 20px;
}

.teacher-student-swiper {
  overflow: hidden;
  padding: 20px 0;
}

.teacher-student-swiper .teacher-student-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  height: 250px;
  width: 100%;
}

.teacher-student-item a {
  display: block;
  height: 100%;
  width: 100%;
}

.teacher-student-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-student-item:hover img {
  transform: scale(1.05);
}

/* 导航按钮样式 */
.teacher-student-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.teacher-student-button-prev,
.teacher-student-button-next {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.teacher-student-button-prev:hover,
.teacher-student-button-next:hover {
  transform: scale(1.1);
}

.teacher-student-button-prev img,
.teacher-student-button-next img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .teacher-student-item {
    height: 300px;
  }
}

/* 底部信息栏样式 */
.footer {
  width: 100%;
  background-color: #0068b7;
  color: #fff;
  padding: 30px 0;
  position: relative;
  background-image: url('../image/footerBg.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
max-width:1920px;
margin:0 auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 30px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  margin-top: 30px;
  padding-top: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-right: 0;
}

.footer-logo img {}

.footer-info {
  text-align: left;
  font-size: 20px;
  line-height: 1.6;
  margin-left: 20px;
  color: #ffffff;
  padding-left: 20px;
  position: relative;
}

.footer-info::before {
  display: block;
  content: "";
  width: 1px;
  height: 80px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-info p {
  margin: 3px 0;
}

.footer-contact {
  text-align: right;
  margin-left: auto;
}

.footer-contact img {
  transition: transform 0.3s ease;
}

.footer-contact img:hover {
  transform: scale(1.1);
}

/* 友情链接样式 */
.friend-links {
  width: 200px;
  height: 32px;
  margin: 0 auto;
}

.friend-links-btn {
  background-color: #fff;
  color: #333;
  border-radius: 20px;
  padding: 8px 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  text-align: center;
  justify-content: center;
}

.friend-links-btn img {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.friend-links-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: none;
  z-index: 100;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.friend-links.active .friend-links-dropdown,
.friend-links.clicked .friend-links-dropdown,
.friend-links:hover .friend-links-dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
}

.friend-links:hover .friend-links-btn img {
  transform: rotate(180deg);
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.friend-links-list a {
  color: #333;
  padding: 5px 10px;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.friend-links-list a:hover {
  color: #0068b7;
  text-decoration: none;
  background-color: #f0f8ff;
}



.silde-bar {
  width: 120px;
  height: 400px;
  background: linear-gradient(to bottom, #98bff5, #85dcfd);
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 100;
  border-radius: 20px 0 0 20px;
}

.silde-bar a {
  width: 95%;
  display: block;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  position: relative;
}

.silde-bar a:last-child {
  border-bottom: none;
}

/* 二维码弹出层样式 */
.silde-bar a.has-qrcode {
  position: relative;
}

.qrcode-popup {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 15px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
width:150px;
}

.qrcode-popup::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.qrcode-popup img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.silde-bar a.has-qrcode:hover .qrcode-popup {
  opacity: 1;
  visibility: visible;
}
.top-bar {
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
  background: url('../image/headBg.png') no-repeat center top;
background-size:100% 100%;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dropdown-submenu {
  position: relative;
}

/* 三级菜单箭头已移除 */

/* 三级菜单容器 */
.dropdown-menu-third {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 180px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: none;
  z-index: 1001;
}

.dropdown-menu-third li {
  margin: 0;
  padding: 0;
}

.dropdown-menu-third li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.dropdown-menu-third li a:hover {
  background-color: #f5f5f5;
  color: #0068b7;
  padding-left: 25px;
}

/* PC端：hover显示三级菜单 */
@media (min-width: 769px) {
  .dropdown-submenu:hover>.dropdown-menu-third {
    display: block;
    animation: fadeInRight 0.3s ease;
  }
}

/* 三级菜单淡入动画 */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}