/* CSS Reset - 默认样式重置 */
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: MyFont;
  src: url('../fonts/SourceHanSansCN-Bold.ttf') format('truetype');
}

@font-face {
  font-family: myFontHeavy;
  src: url('../fonts/SourceHanSansCN-Heavy.ttf') format('truetype');
}

@font-face {
  font-family: myFontMedium;
  src: url("../fonts/SourceHanSansCN-Medium.ttf");
}

/* 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;
}

/* 顶部信息栏样式 */
.top-bar {
  width: 100%;
  background: linear-gradient(to bottom, rgba(23, 50, 113, .99) 0%, rgba(23, 50, 113, 0) 100%);
  box-shadow: none;
  position: fixed;
  z-index: 100;
  top: 0;
  padding: 20px 0 30px 0;
  border: none;
  /* 添加内阴影柔化底部边缘 */
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
}

.top-bar-wrapper {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
}

/* Logo区域样式 */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 70px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: #fff;
}

.logo-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
}

.logo-subtitle {
  font-size: 38px;
  line-height: 1.2;
  opacity: 0.95;
  font-family: MyFont;
  font-weight: bold;
  color: #fff;
}

/* 右侧区域 */
.right-section {
  display: flex;
  align-items: center;
}

/* 搜索框独立行样式 */
.search-bar {
  width: 100%;
  padding: 10px 0;
  border: none;
  background: transparent;
}

.search-bar-wrapper {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: flex-end;
  border: none;
}

.mobile-header-controls {
  display: none;
}

.navbar {
  display: none;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-text {
  width: 250px;
  height: 36px;
  padding: 0 45px 0 15px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;

}

.search-text:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  outline: none;
}

.search-text::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.search-btn {
  width: 36px;
  height: 36px;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  background: url("../images/search.png") no-repeat center;
  background-size: 20px 20px;
  transition: transform 0.3s ease;
}

.search-btn:hover {
  transform: scale(1.1);
}

/* 导航菜单样式 */
.main-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 5px;
}

.main-nav>ul>li {
  position: relative;
}

.main-nav li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav li:last-child a::after {
  display: none;
}

.main-nav li a:hover {
  color: #ffd700;
}

/* 二级菜单样式 */
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23, 50, 113, 0.95);
  min-width: 160px;
  padding: 10px 0;
  margin-top: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.main-nav .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  margin-top: 5px;
}

.main-nav .submenu li {
  width: 100%;
}

.main-nav .submenu li a {
  padding: 10px 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  display: block;
  transition: all 0.3s ease;
  text-align: center;
}

.main-nav .submenu li a:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

/* 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 {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 轮播导航按钮样式 */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  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);
  transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.banner-swiper .swiper-button-next {
  right: 20px;
}

.banner-swiper .swiper-button-prev {
  left: 20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.swiper-button-next:after {
  content: '?';
}

.swiper-button-prev:after {
  content: '?';
}

/* Banner分页点样式 */
.banner-swiper .swiper-pagination {
  bottom: 20px !important;
  text-align: center;
}

.banner-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 1px solid #fff;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 30px;
  border-radius: 6px;
}

/* 主内容区域 */
.main-content {
  width: 100%;
  background: url('../images/bodyBg.png') no-repeat center top;
  background-size: cover;
  padding: 50px 0;
  max-width: 1920px;
  margin: 0 auto;
}

/* 工作动态区域 */
.work-dynamic-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;

}

.section-icon {
  height: auto;
}

.section-title {
  font-size: 30px;
  color: #404040;
  font-weight: bold;
  margin: 0;
  margin-left: -20px;
  font-family: myFontHeavy;
}

.section-title span {
  font-family: myFontHeavy;
  color: #a93135;
}

.more-link img {
  height: auto;
  transition: transform 0.3s ease;
}

.more-link:hover img {
  transform: translateX(5px);
}

/* 工作动态内容区 */
.work-dynamic-content {
  display: flex;
  gap: 30px;
}

/* 左侧轮播新闻 */
.news-slider {
  flex: 1;
  max-width: 860px;
}

.news-swiper {
  width: 100%;
  height: 100%;
}

.news-slide-item {
  display: block;
  position: relative;
  height: 445px;
  overflow: hidden;
}

.news-slide-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.news-slide-item:hover img {
  transform: scale(1.05);
}

.news-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: url('../images/gzdtBg.png') no-repeat;
  background-size: 100% 100%;
  color: #fff;
  display: flex;
  align-items: end;
  padding-bottom: 15px;
  padding-left: 10px;
  gap: 15px;
  height: 89px;
}

.news-slide-info .news-date {
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 88px;
}

.news-slide-info .news-title {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.news-pagination {
  bottom: 10px !important;
}

.news-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 5px;
}

.news-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 24px;
  border-radius: 5px;
}

/* 右侧列表新闻 */
.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-list-item {
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e4e4e4;
}

.news-list-item:hover {
  transform: translateY(-2px);
}

.news-list-item a {
  display: block;
}

.news-list-item h3 {
  font-size: 20px;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
  font-family: MyFont;
}

.news-list-item:hover h3 {
  color: #183883;
}

.news-meta {
  margin-bottom: 10px;
}

.news-meta .news-date {
  font-size: 16px;
  color: #ecc772
}

.news-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 三栏模块区域 */
.three-columns-section {
  max-width: 1600px;
  margin: 50px auto 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.column-item {
  border-radius: 8px;
  overflow: hidden;
}

.column-item .section-header {
  margin-bottom: 20px;
}

.column-content {}

/* 通知项样式 */
.notice-item {
  display: block;
  padding: 20px 0px;
  padding-bottom: 0;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  background-color: #fff;
  margin-bottom: 25px;
  text-decoration: none;
  color: inherit;
}

.notice-item:last-child {
  margin-bottom: 0;
}

.notice-header {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #bcbcbc;
  padding: 0 20px;
  align-items: center;
  padding-bottom: 10px;
}

.notice-date {
  flex-shrink: 0;
  width: 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 8px 0;
  color: #333333;
}

.date-day {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  line-height: 1;
}

.date-year {
  font-size: 18px;
  color: #fff;
  margin-top: 4px;
  background: #ecc772;
  padding: 2px 8px;
  width: 100%;
}

.notice-title {
  flex: 1;
}

.notice-title h3 {
  font-size: 18px;
  color: #333;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.notice-item:hover .notice-title h3 {
  color: #a93135;
}

.detail-link {
  font-size: 18px;
  color: #999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  position: relative;
  width: 100%;
  justify-content: space-between;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.detail-link .arrow-default {
  display: inline-block;
}

.detail-link .arrow-hover {
  display: none;
}

.notice-item:hover .arrow-default {
  display: none;
}

.notice-item:hover .arrow-hover {
  display: inline-block;
}

.notice-item:hover .detail-link {
  color: #fff;
  background-color: #183883;
}

.notice-item:hover .notice-title h3 {
  color: #183883;
  font-weight: bold;
}

.detail-link:hover {
  color: #a93135;
}

/* 底部两栏区域 */
.bottom-section {
  max-width: 1600px;
  margin: 50px auto 0;
  padding: 0 30px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* 学习资料 */
.study-materials {
  overflow: hidden;
}

.study-materials .section-header {
  padding: 20px 0;
  margin-bottom: 0;
}

.materials-list {
  border: 1px solid #dfc994;
  background: url("../images/flower.png") no-repeat right bottom;
  background-size: 100% 100%;
}

.material-item {
  display: block;
  padding: 20px;
  border: 1px solid #fff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.material-item:hover {
  background: url('../images/hoverXxzl.png') no-repeat center;
  background-size: cover;
  color: #fff;
  border-bottom: 2px solid #af0b06;
}

.material-item:hover .material-title,
.material-item:hover .material-desc,
.material-item:hover .material-date {
  color: #fff;
}

.material-date {
  font-size: 16px;
  color: #a93135;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.material-title {
  font-size: 18px;
  color: #000000;
  margin: 0 0 10px 0;
  font-weight: bold;
  transition: color 0.3s ease;
}

.material-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* 廉洁教育 */
.clean-education {
  overflow: hidden;
}

.clean-education .section-header {
  padding: 20px 0;
  margin-bottom: 0;
}

.education-tabs {
  display: flex;
  padding: 10px 20px;
  gap: 10px;
  height: 80px;
  background: url("../images/changeBg.png") no-repeat;
  background-size: 100% 100%;
}

.tab-item {
  padding: 12px 30px;
  cursor: pointer;
  font-size: 22px;
  color: #333333;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.tab-item.active {
  color: #a93135;
  background-size: cover;
  font-weight: bold;
  font-family: myFontHeavy;
  background: url("../images/checkIn.png") no-repeat top;
  background-position: 14px 7px;
  padding-bottom: 10px;
}

.tab-item.active::after {
  display: block;
  content: "";
  width: 100%;
  background-color: #a93135;
  height: 2px;
  margin-top: 5px;
}

.education-content {
  padding: 20px 20px 10px 20px;
  background: url("../images/flower.png") no-repeat right bottom;
  background-size: 100% 100%;
  margin-top: -1px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.education-slide-item {
  min-height: 300px;
  position: relative;
}

.title-bg {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1;
}

.education-title {
  font-size: 18px;
  color: #fff;
  margin: 0 0 20px 0;
  font-weight: bold;
  position: relative;
  z-index: 2;
  padding-left: 20px;
  background: url("../images/titileBg.png") no-repeat;
  display: block;
  background-size: 100%;
  width: 360px;
  height: 75px;
  text-align: center;
  line-height: 90px;
  margin: 0 auto;
  margin-bottom: 30px;
  margin-top: 10px;
}

.education-text {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
  margin: 0;
  text-indent: 2em;
  position: relative;
  z-index: 2;
}

.education-pagination {
  bottom: 25px !important;
}

.education-swiper .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  opacity: 1;
  margin: 0 5px;
  border: 1px solid #e2cd9c;
  background: transparent !important;
}

.education-swiper .swiper-pagination-bullet-active {
  background: #dfc994 !important;
}

/* 政策法规区域 */
.policy-section {
  max-width: 1600px;
  margin: 10px auto 0;
  padding: 0 30px 50px;
}

.policy-section .section-header {
  margin-bottom: 30px;
}

.policy-content {
  background: url('../images/zcfgBg.png') no-repeat center;
  background-size: 100% 100%;
  padding: 20px;
}

.policy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 80px;
}

.policy-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  border-bottom: 1px dashed #e5e5e5;
  height: 65px;
}

.policy-item:nth-child(5n) {
  border: none;
}

.policy-item:nth-child(9) {
  border: none;
}

.policy-item:hover {
  border: 1px solid #183883;
  background: url('../images/hoverFolwer.png') no-repeat right center;
  background-size: auto 100%;
  background-color: #e0e0ec;
  padding: 5px 0;
}

.policy-icon {
  flex-shrink: 0;
  padding: 10px;
  transition: all 0.3s ease;
  content: url('../images/wenzhang.png');
}

.policy-item:hover .policy-icon {
  background: #183883;
  border-radius: 2px;
  content: url('../images/hoverWz.png');
}

.policy-title {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.policy-item:hover .policy-title {
  color: #183883;
  font-weight: bold;
}

/* 底部区域 */
.footer {
  background: #183883;
  color: #fff;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-direction: column;
}



.footer-info h3 {
  font-size: 38px;
  color: #fff;
  font-family: myFontMedium;
  margin: 0;
  font-weight: normal;
}

.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 460px;
  align-items: flex-start;
}

.link-group:last-child {
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
}

.footer-link {
  text-decoration: none;
  color: #fff;
  display: inline-block;
}

.link-icon {
  background: transparent;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 16px;
  display: inline-block;
  border: 1px solid #fff;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 14px 32px;
}

.link-list a,
.link-list p {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  opacity: .5;
  padding-bottom: 5px;
  text-align: center;
}

.link-list a:hover {
  color: #fff;
  text-decoration: underline;
  opacity: 1;
  text-decoration: none;
  background: url("../images/hoverUnderline.png") no-repeat bottom;
  background-size: 100%;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0b286b;
}

.footer-bottom p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .top-bar-wrapper {
    flex-direction: column;
    /* gap: 15px; */
    width: 67%;
    padding: 0;
    margin: 0;
    margin-left: 18px;
    padding-bottom: 11px;
  }

  .logo {
    /* flex-direction: column; */
    text-align: center;
  }

  .logo-subtitle {
    font-size: 15px;
    text-align: left;
  }

  .logo-text {
    align-items: center;
  }

  .right-section {
    width: 100%;
    justify-content: center;
  }

  .search-bar-wrapper {
    justify-content: center;
  }

  .search-text {
    width: 100%;
    max-width: 300px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .main-nav li a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .banner-container {
    /* margin-top: 220px; */
  }

  .work-dynamic-content {
    display: block;
  }

  .news-slider {
    width: 100%;
    height: 239px;
  }
.news-list{
    margin-top: 11px;
}
  .main-nav {
    width: 100%;
    display: none;
  }

  .top-bar {
    width: 100%;
    position: relative;
    padding-bottom: 10px;
    background-color: rgba(23, 50, 113, .99);
  }

  .footer-content {
    width: 100%;
    display: block;
  }
}