* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* 第一部分：文件查询板块 */
.fir-content{
    background: #fff;
  	padding-bottom: 20px;
}
.file-search {
    display: flex;
    padding: 40px 0 20px 0;
    justify-content: space-between;
}

.search-center {
  width: 1px;
  height: 380px;
  border: 1px solid #D8D8D8;
}

/** 文件查询样式开始 **/
.search-left {
	width: 800px;
	height: 380px;
	padding: 0 30px;
	background-image: url('./js_bg.png');
	background-size: cover;
	background-repeat: no-repeat;
}

.js-title {
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	display: inline-block;
}

.js-nav {
	display: inline-block;
	margin-left: 40px;
}

.js-nav a {
	color: #0D59A7;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	padding: 0 10px;
}

.js-nav a:hover {
	color: #0066cc;
}

.search-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.search-area {
	margin-top: 30px;
}

.search-item {
	position: relative;
    height: 50px;
}

.search-item input,
.search-item select {
	width: 100%;
	padding: 16px 15px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 16px;
	color: #999;
	outline: none;
}

.search-item input::placeholder {
	color: #999;
}

.search-item select {
	appearance: none;
	background-color: white;
	cursor: pointer;
	position: relative;
}

.search-item {
	position: relative;
}

.js-select:has(select:focus)::after,
.js-select.select-focused::after {
	transform: translateY(-50%) rotate(270deg);
}

.button-area {
	display: flex;
	gap: 20px;
	justify-content: center;
	font-size: 16px;
	font-weight: 400;
}

.btn {
	width: 130px;
	height: 50px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
}

.btn-query {
	background-color: #0D59A7;
	color: white;
}

.btn-reset {
	background-color: white;
	color: #2460B7;
	border: 1px solid #2460B7;
}

.btn:hover {
	opacity: 0.9;
}

.js-header {
	height: 56px;
	line-height: 56px;
	display: flex;
    justify-content: space-between;
}
/** 文件查询样式结束 **/

.search-image {
    width: 120px;
    height: 120px;
    background-color: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-right {
    width: 340px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.search-block {
    height: 81px;
    background: url('./r_ldBg.png') no-repeat;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.search-block:hover {
    background-color: #E6F0FF;
    transform: translateY(-2px);
}

.search-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0D59A7;
    text-align: center;
}

/* 第二部分：政府信息公开 */
.gov-info {
    background: url('./gk_bg.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    padding: 30px 0;
    margin: 0 0 20px 0;
    height: 300px;
}

.gov-info-title {
    text-align: center;
    margin-bottom: 30px;
    text-align: left;
}

.gov-info-title h2 a {
    font-size: 22px;
    font-weight: 600;
    color: #0D59A7 !important;
    margin-bottom: 10px;
}

.gk-container {
    display: flex;
    justify-content: space-between;
}

.info-block {
    width: 175px;
    height: 170px;
    background-color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-block .icon {
    width: 48px;
    height: 48px;
    background-color: #E6F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 8px;
}

.info-block h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

/* 第三部分：轮播和新闻 */
.carousel-news {
    height: 575px;
    margin: 30px 0 0 0;
}

.carousel-container {
    position: relative;
    width: 1200px;
    height: 120px;
    margin-bottom: 30px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.carousel-item img {
	width: 100%;
  	height: 100%;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
}

.news-section {
    display: flex;
    gap: 30px;
    height: 385px;
}

.news-left {
    flex: 1;
}

.news-tabs {
    display: flex;
    margin-bottom: 20px;
}

.news-tab {
    padding: 10px 20px 10px 0;
    cursor: pointer;
    font-size: 22px;
    font-weight: 400;
    color: #999;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.news-tab:hover {
    color: #0D5BA9;
}

.news-tab.active {
    color: #0D5BA9;
}

.news-content {
    position: relative;
}

.news-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    line-height: 34px;
}

.news-list.active {
    opacity: 1;
    visibility: visible;
}

.news-item {
    padding: 7px 0;
    border-bottom: 1px solid #F0F0F0;
  display: flex;
}

.news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    margin-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item a:hover {
    color: #1890FF;
}

.news-item .date {
    font-size: 14px;
    color: #999;
}

.news-right {
    width: 420px;
    padding-top: 15px;
}

.gazette {
    background-color: white;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #d8d8d8;
    margin-top: 20px;
}

.news-right h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #2162B2;
}

.gazette-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gazette-image {
    background-color: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
}

.gazette-image {
    background: url(./gb_bg.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    width: 176px;
    height: 228px;
    position: relative;
}

.nianfen {
    font-size: 18px;
    font-weight: 600;
    color: #f44533;
    position: absolute;
    bottom: 48px;
}

.qishu {
    display: contents;
}

.qishu a {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    display: block;
    position: absolute;
    bottom: 23px;
}

.gazette-info {
    flex: 1;
}

.gazette-info .new-badge {
    background: url(./new.png) no-repeat center center;
    padding: 2px 8px;
    margin-bottom: 10px;
    display: block;
    width: 76px;
    height: 31px;
}

.gazette-info p {
    font-size: 18px;
    font-weight: 400;
    color: #2162B2;
    margin-bottom: 10px;
}

.gazette-info .date {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.gazette-info .more {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    margin-top: 10px;
    display: block;
    width: 136px;
    height: 50px;
    border: 1px solid #d8d8d8;
    text-align: center;
    line-height: 50px;
}

/* 第四部分：重大民生信息 */
.people-info {
    height: 443px;
    background: url('./ms_bg.png') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 30px 0;
}

.people-info .container {
    display: flex;
    gap: 30px;
}

.people-left {
    flex: 1;
}

.people-left h3 {
    font-size: 24px;
    font-weight: 600;
    background: url(./msTitle_bg.png) no-repeat center center;
    display: block;
    width: 740px;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
}

.people-left h3 a {
	color: #2162B2;
}

.people-content {
    position: relative;
    width: 740px;
    height: 309px;
    background: #fff;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px;
}

.people-grid.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.people-grid a {
    display: block;
    text-decoration: none;
}

.people-grid a:hover p {
    color: #1168C8;
}

.people-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.people-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(24, 144, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.people-indicator.active {
    background-color: #1890FF;
}

.people-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.people-item .icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.people-item p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.people-right {
    width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.people-right h3 {
    font-size: 24px;
    font-weight: 600;
    background: url(./xmtjz_bg.png) no-repeat center center;
    display: block;
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
    width: 420px;
}

.people-right h3 a {
	color: #2162B2;
}

.ewm-content {
    background: #fff;
    width: 420px;
    height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.qrcode {
    width: 150px;
    height: 150px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.qrcode-info {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #2162B2;
}


/* 底部样式开始 */
.links-section {
  background: #124282;
}

.links-container {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 50px;
}

.links-label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 0;
}

.links-label::before {
  content: '🔗';
}

.links-wrapper {
  display: flex;
  gap: 40px;
  flex: 1;
  margin-left: 60px;
  justify-content: space-evenly;
}

.link-category {
  position: relative;
}

.link-title {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 0;
}

.link-title:hover {
  background: rgba(255,255,255,0.1);
}

.link-title::after {
  content: '▲';
  font-size: 12px;
  transition: transform 0.3s;
}

.link-category:hover .link-title::after {
  transform: rotate(180deg);
}

.link-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.link-category:hover .link-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.link-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #333;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.link-dropdown a:hover {
  background: #f5f5f5;
  color: #1a4a8a;
}

.footer {
  height: 110px;
  line-height: 110px;
  background: #0F4791;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logos {
  display: flex;
  gap: 20px;
  line-height: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-info {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 28px;
}

.footer-links {
  display: flex;
  gap: 20px;
  opacity: 0.6;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.float-left {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 114px;
  height: 214px;
  z-index: 99;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s;
}

.float-left.hidden {
  transform: translateY(-50%) translateX(-100%);
}

.float-close {
  position: absolute;
  top: -80px;
  right: -25px;
  width: 24px;
  height: 24px;
  background: rgba(102,102,102,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}

.float-close:hover {
  background: rgba(102,102,102,0.4);
}

.float-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  letter-spacing: 10px;
  font-weight: bold;
}

.float-right {
  width: 116px;
  height: 450px;
  background: #FFFFFF;
  box-shadow: 0 0 22px -2px #1678dd30;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s;
  align-items: center;
}

.float-right.collapsed {
  background: transparent;
  box-shadow: none;
}

.float-right.collapsed .right-item {
  display: none;
}

.right-item {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  position: relative;
}

.right-item.last-item {
  border-bottom: 0;
}

.right-item:hover::before {
  transform: scaleY(1);
}

.right-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.right-text {
  transition: all 0.3s;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  letter-spacing: 0;
  text-align: center;
}

.right-item:hover .right-text {
  color: #333;
}

.right-toggle {
  width: 100%;
  height: 34px;
  background: #D6EAFF;
  color: #0D59A7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  cursor: pointer;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  letter-spacing: 4px;
  transition: all 0.3s;
  font-weight: 400;
  letter-spacing: 0;
}
/* 底部样式结束 */

/* 移动端样式开始 */
@media (max-width: 768px) {
  body {
    min-width: 100%;
    background: none;
  }

  .layui-laydate-range {
    width: 360px !important;
    left: 36px !important;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  .nav .container {
    padding: 0;
  }

  /* 第一部分：文件查询板块 */
  .file-search {
    flex-direction: column;
    padding: 20px 0;
  }

  .search-left {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .js-header {
    align-items: center;
    height: auto;
    margin-top: -16px;
  }

  .js-title {
    font-size: 20px;
  }

  .js-nav {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    line-height: 0.5rem;
    text-align: right;
  }

  .js-nav span {
    display: none;
  }

  .js-nav a {
    font-size: 14px;
    padding: 0;
  }

  .search-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .search-center {
    display: none;
  }

  .search-right {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .search-block {
    height: 70px;
    margin-bottom: 0;
  }

  .search-block h3 {
    font-size: 18px;
  }

  /* 第二部分：政府信息公开 */
  .gazette-info p {
    font-size: 15px;
  }

  .gazette-image {
    height: 100%;
  }

  .gov-info-title h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
  }

  .gov-info {
    height: auto;
    padding: 20px 0;
  }

  .gk-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .info-block {
    width: 100%;
    height: 130px;
    margin-bottom: 0;
  }

  .info-block h3 {
    font-size: 14px;
  }

  /* 第三部分：轮播和新闻 */
  .carousel-news {
    height: auto;
    margin: 20px 0;
  }

  .carousel-container {
    width: 100%;
    height: 100px;
  }

  .news-section {
    flex-direction: column;
    height: auto;
  }

  .news-left {
    position: relative;
    z-index: 1;
  }

  .news-right {
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 1;
    padding-top: 0;
  }

  .news-right h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    font-weight: bold;
  }

  .news-content {
    position: relative;
    z-index: 2;
    height: 370px;
    overflow: hidden;
  }

  .news-list {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .news-list.active {
    opacity: 1;
    visibility: visible;
  }

  .news-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .news-item a {
    color: #333;
    text-decoration: none;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .news-item .date {
    font-size: 14px;
    color: #999;
    align-self: flex-start;
  }

  .news-tabs {
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
  }

  .news-tab {
    font-size: 18px;
    padding: 10px 15px 10px 0;
  }

  .gazette {
    padding: 20px;
  }

  .gazette-content {
    text-align: center;
  }

  .gazette-image {
    margin-bottom: 20px;
  }

  /* 第四部分：重大民生信息 */
  .people-info {
    height: auto;
    padding: 20px 0;
  }

  .people-info .container {
    flex-direction: column;
  }

  .people-left h3 {
    width: 100%;
    font-size: 20px;
    height: 50px;
    line-height: 50px;
  }

  .people-content {
    width: 100%;
    height: 448px;
    padding-bottom: 20px;
  }

  .people-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .people-item .icon {
    width: 50px;
    height: 50px;
  }

  .people-item p {
    font-size: 14px;
  }

  .people-right {
    width: 100%;
  }

  .people-right h3 {
    width: 100%;
    font-size: 20px;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }

  .ewm-content {
    width: 100%;
    height: 280px;
  }

  /* 隐藏浮动元素 */
  .float-left,
  .float-right {
    display: none;
  }

  /* 底部样式 */
  .links-container {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 15px;
  }

  .links-wrapper {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
  }

  .footer {
    height: auto;
    line-height: normal;
    padding: 20px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* 移动端样式结束 */