@charset "utf-8";

/* 顶部banner */
.gb-banner {
  background: url(../images/zfgb/zfgb_header_bg.jpg) center center no-repeat;
  height: 400px;
  padding: 20px 0;
}

.gb-title {
  margin-top: 70px;
  text-align: center;
}

/* 搜索模块样式 */
.search-box {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

/* 搜索标签页 */
.search-tabs {
  display: flex;
}

.search-tabs .tab {
  padding: 15px 30px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #3c78b4;
}

.search-tabs .tab.active {
  background-color: #005091;
}

/* 搜索表单 */
.search-content {
  padding: 30px;
  background-color: #fbfbfb;
  border: 1px solid #e5e5e5;
}

.search-form {
  width: 100%;
}

.search-row {
  display: flex;
  margin-bottom: 20px;
  gap: 0 35px;
}

.search-item {
  flex: 1;
  display: flex;
  align-items: center;
}

.search-item label {
  width: 90px;
  color: #656565;
  font-size: 16px;
  text-align: center;
  margin-right: 10px;
  line-height: 40px;
}

.search-item .layui-form-item {
  flex: 1;
  margin-bottom: 0;
}

.search-item .layui-input {
  height: 38px;
  line-height: 38px;
  border: 1px solid #e5e5e5;
  padding: 0 15px;
  font-size: 14px;
  color: #656565;
}

.search-item .layui-form-select .layui-input {
  padding-right: 30px;
}

/* 日期范围选择器 */
.date-range .date-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.date-range .date-inputs .layui-form-item {
  flex: 1;
}

.date-range .date-separator {
  color: #656565;
  font-size: 16px;
  padding: 0 5px;
}

/* 按钮组 */
.search-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.search-buttons .layui-btn {
  width: 180px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
}

.search-buttons .layui-btn {
  background-color: #005091;
}

.search-buttons .layui-btn-primary {
  background-color: #aaa;
  color: #fff;
  border: none;
}

.search-buttons .layui-btn-primary:hover {
  background-color: #999;
  color: #fff;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
  }

  .search-item {
    width: 100%;
    margin-bottom: 15px;
  }

  .search-item label {
    width: 70px;
  }

  .search-buttons .layui-btn {}
}

/* 顶部banner */
.gb-banner {
  background: url(../images/zfgb/zfgb_header_bg.jpg) center center no-repeat;
  height: 400px;
  padding: 20px 0;
}

.gb-title {
  margin-top: 70px;
  text-align: center;
}

/* 搜索模块样式 */
.search-box {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
}

/* 搜索标签页 */
.search-tabs {
  display: flex;
  border-bottom: 1px solid #e6e6e6;
}

.search-tabs .tab {
  padding: 15px 30px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.search-tabs .tab.active {
  color: #fff;
  font-weight: 500;
}

/* .search-tabs .tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2c60b6;
} */

/* 搜索表单 */
.search-content {
  padding: 30px;
}

.search-form {
  width: 100%;
}

.search-row {
  display: flex;
  margin-bottom: 20px;
  gap: 20px;
}

.search-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.search-item label {
  width: 80px;
  color: #333;
  font-size: 14px;
  text-align: center;
  margin-right: 10px;
  line-height: 38px;
}

.search-item .layui-form-item {
  flex: 1;
  margin-bottom: 0;
}

/* 日期范围选择器 */
.date-range .date-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-range .date-inputs .layui-form-item {
  flex: 1;
  margin-bottom: 0;
}

.date-range .date-separator {
  color: #666;
  font-size: 14px;
  padding: 0 5px;
}

/* 按钮组 */
.search-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.search-buttons button {
  min-width: 120px;
  height: 40px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-search {
  background: #005091;
  color: #fff;
}

.btn-search:hover {
  background: #0066b3;
}

.btn-reset {
  background: #f5f7fa;
  color: #606266;
  border: 1px solid #dcdfe6;
}

.btn-reset:hover {
  color: #005091;
  border-color: #005091;
  background: #f5f7fa;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .search-row {
    flex-direction: column;
    gap: 15px;
  }

  .search-item {
    width: 100%;
  }

  .search-item label {
    width: 70px;
  }

  .search-buttons .layui-btn {
    flex: 1;
  }
}

/* 公报目录模块 */
.gazette-container {
  margin-bottom: 40px;
}

/* 导航栏 */
.gazette-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fbfbfb;
  border-bottom: 1px solid #e5e5e5;
}

.nav-btn {
  background-color: #005091;
  color: #fff;
  border: none;
  padding: 0 20px;
  height: 38px;
  line-height: 38px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 2px;
}

.nav-btn:hover {
  background-color: #0066b3;
}

.nav-select {
  display: flex;
  align-items: center;
}

.nav-select .layui-form {
  display: flex;
  gap: 15px;
}

.nav-select .layui-inline {
  margin-right: 0;
}

.nav-select .layui-form select {
  width: 180px;
}

/* 内容区域 */
.gazette-content {
  display: flex;
  gap: 20px;
}

.gazette-main {
  flex: 1;
  width: 0;
  background-color: #fbfbfb;
  border: 1px solid #e5e5e5;
  padding: 20px;
}

/* 头部 */
.gazette-header {
  position: relative;
  margin-bottom: 30px;

}

.gazette-header .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gazette-header h3 {
  font-size: 26px;
  color: #3e3e3e;
  font-weight: bold;
  /* margin-bottom: 10px; */
}



.divider {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
}

.divider .line {
  flex: 1;
  height: 1px;
  background-color: #a6c2de;
}

.divider .dot {
  width: 5px;
  height: 5px;
  background-color: #a6c2de;
  border-radius: 50%;
}

/* 文件列表 */
.doc-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #a6c2de;
}

.doc-section h3 {
  font-size: 22px;
  color: #005091;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
}

/* .doc-section h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #005091;
} */

.doc-list {
  list-style: none;
}

.doc-list li {
  margin-bottom: 24px;
  padding-left: 17px;
  position: relative;
}

.doc-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: #282828;
  border-radius: 50%;
}

.doc-list a {
  color: #282828;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}

.doc-list a:hover {
  color: #005091;
}

/* 下载区域 */
.download-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 0;
  background-color: #f2f2f2;
  margin-top: 30px;
}

.download-item {
  text-align: center;
}

.qr-box {
  width: 130px;
  height: 130px;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 10px;
}

.qr-box>div {
  width: 100px;
  height: 100px;
}

.download-item p {
  color: #005091;
  font-size: 14px;
  line-height: 1.5;
}

/* 右侧栏 */
.gazette-sidebar {
  width: 300px;
  background-color: #fff;
}

.sidebar-header {
  text-align: center;
  padding: 20px 0;
}

.sidebar-header img {
  margin-bottom: 15px;
}

.sidebar-info {
  padding: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item .label {
  width: 80px;
  color: #333;
  font-size: 14px;
}

.info-item .separator {
  margin: 0 5px;
  color: #333;
}

.info-item .value {
  flex: 1;
  color: #333;
  font-size: 14px;
}

/* 响应式布局 */

@media (max-width: 1280px) {
  .gazette-nav {
    flex-direction: column;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-select,
  .nav-select .layui-form {
    width: 100%;
  }

  .nav-select {
    margin: 15px 0;
  }

  .nav-select .layui-inline {
    flex: 1 0 0;
  }

  .layui-icon {
    display: none;
  }
}

@media (max-width: 992px) {
  .search-row {
    flex-direction: column;
  }

  .search-item {
    width: 100%;
  }

  .gazette-content {
    flex-direction: column;
  }

  .gazette-main {
    width: 100%;
  }

  .gazette-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .gazette-nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }

  .download-section {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 431px) {
  .search-content {
    padding: 15px;
  }

  .search-row {
    margin-bottom: 20px;
  }

  .search-item {
    margin-bottom: 0;
  }

  .search-buttons {
    margin-top: 20px;
  }

  .search-item {
    flex-wrap: wrap;
  }

  .search-item .layui-form-item {
    width: 100% !important;
    flex-shrink: 0;
  }

  .download-item:not(:first-child) {
    display: none;
  }

  .gb-banner {
    height: 300px;
  }

  #pdf-preview-box {
    display: none;
  }
}

/* 新增公报详情页元数据模块样式 */
/* 政府公报元数据展示样式 */
.zfxxgk.gk_ysj {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
  border: 1px solid #e6e6e6;
}

.zfxxgk.gk_ysj li {
  width: 50%;
  display: flex;
  border-bottom: 1px solid #e6e6e6;
  align-items: center;
}

.zfxxgk.gk_ysj li:nth-last-child(-n+2) {
  border-bottom: none;
}

.zfxxgk.gk_ysj li:nth-child(odd) {
  border-right: 1px solid #e6e6e6;
}

.zfxxgk.gk_ysj li span {
  min-width: 120px;
  padding: 12px 10px;
  background: #f5f5f5;
  color: #333333;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  font-weight: normal;
  border-right: 1px solid #e6e6e6;
  margin-right: 20px;
}

/* 响应式布局 */
@media (max-width: 1500px) {
  .zfxxgk.gk_ysj li span {
    min-width: 110px;
    padding: 10px 8px;
    font-size: 15px;
  }

}

@media (max-width: 1280px) {
  .zfxxgk.gk_ysj li span {
    min-width: 100px;
    padding: 8px 6px;
    font-size: 14px;
  }

}

@media (max-width: 992px) {
  .zfxxgk.gk_ysj li {
    width: 100%;
    border-right: none !important;
  }

  .zfxxgk.gk_ysj li:nth-last-child(2) {
    border-bottom: 1px solid #e6e6e6;
  }

  .zfxxgk.gk_ysj li span {
    min-width: 90px;
  }
}

@media (max-width: 768px) {
  .zfxxgk.gk_ysj li span {
    min-width: 80px;
    padding: 8px 5px;
    font-size: 13px;
  }

}

@media (max-width: 431px) {
  .zfxxgk.gk_ysj li span {
    min-width: 70px;
    padding: 6px 4px;
    font-size: 12px;
  }

  .gazette-header h3 {
    font-size: 20px;
  }

}

/* 侧边栏链接样式 */
.sidebar-link {
  margin-top: 20px;
  /* padding: 0 20px; */
}

.link-section {
  margin-bottom: 20px;
  position: relative;
}

.link-section h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-left: 19px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px rgba(180, 202, 225, 1) solid;
}

.link-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  /* transform: translateY(-50%); */
  width: 6px;
  height: 36px;
  background-color: #005091;
}

.link-item {
  margin-bottom: 10px;
}

.arrow-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.arrow-link:hover {
  background-color: #e8e8e8;
  color: #d00d0d;
}

.arrow-link span {
  font-size: 16px;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  background: url(../images/zfgb/arrow_right.png) no-repeat center;
  background-size: contain;
}

/* 响应式布局 */
@media screen and (max-width: 1500px) {
  .link-section h3 {
    font-size: 16px;
  }
  
  .arrow-link span {
    font-size: 14px;
  }
}

@media screen and (max-width: 992px) {
  .sidebar-link {
    margin-top: 15px;
  }
  
  .link-section {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
  .arrow-link {
    padding: 8px 12px;
  }
}

/* 微信入口样式 */
.wechat-entry {
  background-color: #fff;
  padding: 15px;
  border-radius: 4px;
}

.wechat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: center;
}

.wechat-icon {
  width: 24px;
  height: 24px;
}

.wechat-title span {
  font-size: 16px;
  color: #005091;
}

.wechat-qrcode {
  text-align: center;
}

.wechat-qrcode img {
  width: 200px;
  height: 200px;
  max-width: 100%;
}

/* 响应式布局 */
@media screen and (max-width: 1500px) {
  .wechat-title span {
    font-size: 14px;
  }
  
  .wechat-icon {
    width: 20px;
    height: 20px;
  }
  
  .wechat-qrcode img {
    width: 180px;
    height: 180px;
  }
}

@media screen and (max-width: 992px) {
  .wechat-qrcode img {
    width: 160px;
    height: 160px;
  }
}

@media screen and (max-width: 768px) {
  .wechat-entry {
    padding: 10px;
  }
}