@charset "UTF-8";
/* 涉企公示 */

.sqgs-header {
  height: 450px;
  background: url(../images/sqgs_bg.jpg) no-repeat center top;
  background-size: cover;
  position: relative;
}
.sqgs-header:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}
.sqgs-header .container-1200 {
  position: relative;
  z-index: 2;
}
.sqgs-header a {
  display: inline-block;
  margin-top: 30px;
}
.sqgs-header a img {
  width: 90%;
  max-width: 400px;
}
.sqgs-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-top: 50px;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
  line-height: 1.2;
  text-align: center;
}

/* 分类 */
.wrapper-sqgs {
  margin-top: -100px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.wrapper-sqgs .container-1200 {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.line-category {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.line-category .category-card {
  flex: 0 0 calc((100% - (20px * 5)) / 6);
  padding: 20px 15px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  background: #fff;
  cursor: pointer;
}
.line-category .category-card:hover {
  transform: translateY(-5px);
}
.line-category .category-card:hover,
.line-category .category-card.on {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.line-category .category-card:hover:after,
.line-category .category-card.on:after {
  width: 100%;
  background: #4a90e2;
}
.line-category .category-card:after {
  content: '';
  display: inline-block;
  width: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: all 0.3s ease;
}
.line-category .category-card img {
  height: 48px;
  margin-bottom: 15px;
}
.line-category .category-card h3 {
  font-size: 14px;
}

/* 乡镇 */
.line-subject {
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.subject-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 40px;
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  position: relative;
}
.subject-title:before {
  content: '';
  flex: 1;
  height: 6px;
  background: #4a90e2;
  margin: 0 20px 0 0;
}
.subject-title:after {
  content: '';
  flex: 1;
  height: 6px;
  background: #4a90e2;
  margin: 0 0 0 20px;
}
.subject-links {
  display: flex;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}
.subject-links span {
  flex: 0 0 calc((100% - (12px * 4)) / 5);
  padding: 19px 16px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 9999px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}
.subject-links span:hover,
.subject-links span.on {
  color: #fff;
  background: #4a90e2;
  border-color: #4a90e2;
}

/* 部门、内容 */
.line-content {
  display: flex;
  gap: 20px;
}
.content-left {
  width: 33.3333333%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}
.content-right {
  width: 66.66666666%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}
.content-title {
  margin: 0 20px 12px 20px;
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 20px;
}
.content-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #4a90e2;
}

.govlist {
  padding: 0 20px;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.govlist::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Opera */
}
.govlist span {
  display: block;
  padding: 21px 20px;
  margin-bottom: 6px;
  background: #f7f9fc;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}
.govlist span:hover,
.govlist span.on {
  color: #fff;
  background: #4a90e2;
  border-color: #4a90e2;
}

.articlelist {
  display: none;
  padding: 0 20px;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.articlelist::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari, Opera */
}
.articlelist li {
  padding: 19px 14px;
  background: #fafbfc;
  border: 1px solid #eef2f6;
  border-radius: 6px;
  margin-bottom: 10px;
}
.articlelist li span {
  float: right;
  color: #6c757d;
}
.articlelist li a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.articelholder {
  text-align: center;
  padding-top: 30px;
  color: #999;
}

@media screen and (max-width: 1200px) {
  .wrapper-sqgs .container-1200 {
    padding: 20px;
  }

  .line-category .category-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .subject-links span {
    flex: 0 0 calc((100% - (12px)) / 2);
  }
}
@media screen and (max-width: 1000px) {
  .sqgs-header {
    height: 400px;
  }
  .sqgs-header h1 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 50px;
  }
}
@media screen and (max-width: 768px) {
  .line-content{
    display: block;
  }
  .content-left {
    width: 100%;
    margin-bottom: 20px;
  }
  .content-right {
    width: 100%;
  }
}
