/**
 * 信息专区二级页 - 页面专属样式
 * 基于 信息专区二级页/信息专区二级页.pen 设计稿 1:1 还原
 */

/* ========================
   顶部 Banner
   ======================== */
.info-hero {
  position: relative;
  width: 100%;
  height: 257px;
  overflow: hidden;
  background-color: #028446;
}

.info-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.info-hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(19, 98, 60, 0.8) 0%, rgba(2, 132, 70, 0.35) 100%);
  pointer-events: none;
}

.info-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 93px 0 0;
}

.info-hero-title {
  margin: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 48px;
  font-weight: normal;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 2px;
}

/* ========================
   主体内容区
   ======================== */
.info-main {
  width: 100%;
  padding: 46px 0 80px;
  background: #ffffff;
}

.info-main-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.info-main-inner > * + * { margin-top: 19px; }

/* ========================
   工具栏：Tab + 搜索
   ======================== */
.info-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 41px;
}

.info-toolbar > * + * { margin-left: 24px; }

.info-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
font-size: 18px;}

.info-tabs > * + * { margin-left: 34px; }

.info-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  line-height: 0.9;
  text-align: center;
  letter-spacing: -0.165px;
  color: rgba(101, 101, 101, 0.8);
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.info-tab::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.2s ease;
}

.info-tab:visited {
  color: rgba(101, 101, 101, 0.8);
}

.info-tab:hover {
  color: #028446;
}

.info-tab.active {
  font-weight: 700;
  color: #028446;
}

.info-tab.active::after {
  /* background: #028446; */
}

.info-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 202px;
  min-height: 38px;
  padding: 10px 20px;
  background: #f6f9f7;
  border-radius: 29px;
  transition: box-shadow 0.2s ease;
}

.info-search:hover,
.info-search:focus-within,
.info-search.focus-within {
  box-shadow: 0 0 0 3px rgba(2, 132, 70, 0.08);
}

.info-search input {
  flex: 1;
  width: 0;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #2e3033;
}

.info-search input::placeholder {
  color: #bbcac3;
}

.info-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: transparent;
  border: none;
  color: #54bb7d;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.info-search-btn:hover {
  color: #028446;
}

.info-search-btn svg {
  width: 17.49px;
  height: 17.49px;
}

/* ========================
   卡片内容区
   ======================== */
.info-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.info-body > * + * { margin-top: 36px; }

.info-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 -8px;
  width: 100%;
}

.info-card-grid .info-card {
  width: calc(33.333% - 16px);
  max-width: 456px;
  margin: 0 8px 16px;
  box-sizing: border-box;
}

/* ========================
   信息卡片
   ======================== */
.info-card {
  position: relative;
  width: 100%;
  height: 176px;
  padding: 24px 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf7f2 0%, #ffffff 100%);
  border: 1px solid #d5ebe6;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #54bb7d;
}

.info-card-decor {
  position: absolute;
  pointer-events: none;
}

.info-card-decor-1 {
  right: 48px;
  bottom: -28px;
  width: 103.36px;
  height: 101.5px;
  opacity: 0.4;
  background: linear-gradient(180deg, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  /* IE 兼容: 移除 clip-path */
  /* clip-path: polygon(28.13% 0, 100% 0, 71.87% 100%, 0 100%); */
}

.info-card-decor-2 {
  right: -14px;
  bottom: 0;
  width: 103px;
  height: 101px;
  opacity: 0.4;
  background: linear-gradient(180deg, #cff8e5 0%, rgba(183, 223, 223, 0) 100%);
  /* IE 兼容: 移除 clip-path */
  /* clip-path: polygon(39.13% 0, 100% 0, 100% 100%, 0 100%); */
}

.info-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.info-card-content > * + * { margin-top: 4px; }

.info-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #2e3033;
  line-height: 1.5556;
}

.info-card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.7143;
}

.info-card-date {
  flex-shrink: 0;
  font-size: 14px;
  color: #999999;
  line-height: 1.7143;
  text-align: left;
}

.info-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  font-size: 16px;
  color: #999999;
}

/* ========================
   分页（复用 stcp/xmpd mricode.pagination 样式，主题色改为绿色）
   ======================== */
.info-pagination {
  margin: 36px 0 0;
  text-align: center;
  font-size: 0;
}

.info-pagination-page,
.info-pagination-info,
.info-pagination-jump {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  margin: 0;
  padding: 0;
}

.info-pagination-page {
  list-style: none;
}

.info-pagination-page > li {
  list-style: none;
  float: left;
  margin-right: 5px;
}

.info-pagination-page > li > a {
  display: inline-block;
  height: 26px;
  line-height: 24px;
  padding: 0 10px;
  font-size: 14px;
  color: #888888;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dedede;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.info-pagination-page > li:hover > a {
  color: #028446;
  border-color: #028446;
}

.info-pagination-page > li.active > a {
  color: #ffffff;
  font-weight: bold;
  background-color: #028446;
  border-color: #028446;
}

.info-pagination-page > li.disabled > a {
  color: #cccccc;
  cursor: not-allowed;
  border-color: #dedede;
}

.info-pagination-page > li.disabled:hover > a {
  color: #cccccc;
  border-color: #dedede;
}

.info-pagination-info {
  height: 26px;
  line-height: 26px;
  padding-left: 10px;
  font-size: 14px;
  color: #888888;
}

.info-pagination-info > span {
  margin: 0 5px;
  font-weight: bold;
  color: #028446;
}

.info-pagination-jump {
  padding-right: 0;
  width: 73px;
}

.info-pagination-group {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
}

.info-pagination-group > input,
.info-pagination-group > button {
  float: left;
  height: 24px;
  font-size: 14px;
  color: #888888;
  background-color: #ffffff;
  border: 1px solid #dedede;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.info-pagination-group > input {
  width: 40px;
  padding: 0;
  text-align: center;
  border-right: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.info-pagination-group > button {
  height: 26px;
  padding: 0 5px;
}

.info-pagination-group > button:hover {
  color: #028446;
  border-color: #028446;
}

.info-pagination-group.error > input,
.info-pagination-group.error > button {
  border-color: #ff4d4f;
}

/* 分页响应式 */
@media (max-width: 575px) {
  .info-pagination-page > li > a {
    height: 24px;
    line-height: 22px;
    padding: 0 8px;
    font-size: 13px;
  }

  .info-pagination-info {
    display: none;
  }

  .info-pagination-jump {
    width: auto;
  }
}
/* ========================
   响应式
   ======================== */
@media (max-width: 1559px) {
  .info-hero-inner,
  .info-main-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .info-card-grid .info-card {
    width: calc(33.333% - 16px);
    max-width: 456px;
  }
}

@media (max-width: 1199px) {
  .info-hero {
    height: 220px;
  }

  .info-hero-inner {
    padding-top: 80px;
  }

  .info-hero-title {
    font-size: 40px;
  }

  .info-card-grid .info-card {
    width: calc(50% - 16px);
    max-width: 456px;
  }
}

@media (max-width: 991px) {
  .info-hero {
    height: 200px;
  }

  .info-hero-inner {
    padding-top: 70px;
  }

  .info-hero-title {
    font-size: 32px;
  }

  .info-main {
    padding: 32px 0 48px;
  }

  .info-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-toolbar > * + * { margin-left: 0; margin-top: 16px; }

  .info-tabs {
    width: 100%;
  }

  .info-tabs > * + * { margin-left: 20px; }

  .info-tab {
    font-size: 18px;
  }

  .info-search {
    width: 100%;
    max-width: 360px;
  }

  .info-card-grid .info-card {
    width: calc(50% - 16px);
    max-width: none;
  }

  .info-card {
    width: 100%;
    height: auto;
    min-height: 176px;
  }
}

@media (max-width: 575px) {
  .info-hero {
    height: 180px;
  }

  .info-hero-inner {
    padding-top: 60px;
  }

  .info-hero-title {
    font-size: 28px;
  }

  .info-tabs > * + * { margin-left: 16px; }

  .info-tab {
    font-size: 16px;
  }

  .info-card-grid .info-card {
    width: 100%;
    max-width: none;
  }

  .info-card {
    padding: 20px;
  }

  .info-card-title {
    font-size: 16px;
  }

  .info-card-summary {
    -webkit-line-clamp: 2;
  }
}
