:root {
  --content-width: 1280px;
  --green-deep: #087c2c;
  --green: #199d35;
  --green-light: #d9f0a5;
  --cream: #fffef0;
  --ink: #2d3d2b;
  --backdrop-width: 1440px;
  --content-overlap: clamp(-800px, -30.5vw, -400px);
  --backdrop-shift: 0px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
}

.site-page {
  min-width: 1000px;
  background: #bfe48e;
}

.site-hero {
  position: relative;
  z-index: 0;
  line-height: 0;
  background: #bfe48e;
}
.site-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.site-container {
  width: var(--content-width);
  margin: 0 auto;
}
.home-main {
  padding-bottom: 30px;
}
.inner-main {
  padding: 24px 0 30px;
}

/* 列表页与详情页共用同一组 PC 内容宽度，避免被外部模板样式压窄。 */
.page-list .inner-main,
.page-detail .inner-main {
  width: var(--content-width);
  max-width: none;
}

.middle-area {
  position: relative;
  z-index: 2;
  overflow: visible;
  margin-top: var(--content-overlap);
  background: transparent;
}
.middle-content {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.middle-content::before {
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--content-overlap) - 360px + var(--backdrop-shift));
  bottom: -40px;
  left: 50%;
  width: var(--backdrop-width);
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 150px,
    rgba(255, 255, 255, 0.08) 245px,
    rgba(255, 255, 255, 0.24) 360px,
    rgba(255, 255, 255, 0.24) 100%
  );
  content: "";
  pointer-events: none;
}
.page-list .middle-content::before,
.page-detail .middle-content::before {
  width: var(--backdrop-width);
}
.pattern-stack {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.middle-yinying {
  flex: 1 1 0;
  min-height: 0;
  background: url("../images/bg_yinying.png") center top / 100% auto no-repeat;
  opacity: 0.42;
}
.middle-yinying:nth-child(even) {
  transform: scaleX(-1);
}

.cms-section {
  position: relative;
  margin-bottom: 64px;
}
.page-home {
  --activity-shift: 0px;
  --project-shift: 0px;
  --committee-shift: 0px;
  --green-shift: 0px;
  --review-shift: 0px;
}
.page-home .activity-section {
  transform: translateY(var(--activity-shift));
}
.page-home .project-section {
  transform: translateY(var(--project-shift));
}
.page-home .committee-section {
  transform: translateY(var(--committee-shift));
}
.page-home .green-section {
  transform: translateY(var(--green-shift));
}
.page-home .review-section {
  transform: translateY(var(--review-shift));
}
.section-title {
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-title img {
  width: 400px;
  max-width: 100%;
  max-height: 132px;
  object-fit: contain;
}

.project-panel,
.committee-grid,
.green-feature,
.review-panel,
.content-card {
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow:
    0 0 0 3px rgba(91, 165, 54, 0.66),
    0 10px 20px rgba(70, 123, 31, 0.12);
}

.activity-panel {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  height: 850px;
  margin: 0;
  padding: 0;
  background: none;
  overflow: visible;
}
.activity-panel::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 50%;
  width: 1435px;
  height: 850px;
  transform: translateX(-50%);
  background: url("../images/chnnel_1_swiper_bg.png") center top / 1435px 850px
    no-repeat;
  content: "";
}

.activity-panel > .section-title {
  position: absolute;
  z-index: 2;
  top: 120px;
  left: 0;
  width: 100%;
  height: 135px;
}
.activity-window {
  position: absolute;
  z-index: 1;
  top: 245px;
  left: 53%;
  width: 980px;
  height: 520px;
  transform: translateX(-50%);
  overflow: hidden;
}
.activity-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.activity-slide {
  display: none;
  position: absolute;
  top: 50%;
  width: 45%;
  height: 70%;
  transform: translateY(-50%);
  overflow: hidden;
  border: 0;
  background: #e6f4d6;
  box-shadow: 0 8px 18px rgba(34, 81, 41, 0.2);
  color: #fff;
  transition:
    left 0.38s ease,
    right 0.38s ease,
    width 0.38s ease,
    height 0.38s ease,
    opacity 0.38s ease,
    transform 0.38s ease;
}
.activity-slide.is-prev,
.activity-slide.is-next {
  display: block;
  width: 55%;
  height: 61%;
  opacity: 0.82;
  z-index: 1;
}
.activity-slide.is-prev {
  left: 0;
}
.activity-slide.is-next {
  right: 0;
}
.activity-slide.is-active {
  display: block;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 82%;
  height: 85%;
  transform: translate(-50%, -50%);
}
.activity-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-slide span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  color: #fff;
  font-size: 18px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.carousel-control {
  position: absolute;
  z-index: 4;
  top: 59.5%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  border: 0;
  background: url("../images/swiper_btn.png") center / contain no-repeat;
  cursor: pointer;
}
.carousel-control:hover {
  filter: brightness(1.08);
}
.activity-panel .carousel-prev {
  left: 97px;
}
.activity-panel .carousel-next {
  right: 30px;
  transform: scaleX(-1);
}
.review-panel .carousel-prev {
  left: 18px;
}
.review-panel .carousel-next {
  right: 18px;
  transform: scaleX(-1);
}
.more-link {
  position: absolute;
  right: 6px;
  bottom: 50px;
  left: auto;
  transform: none;
  padding: 8px 24px;
  border-radius: 16px;
  background: var(--green-deep);
  color: #fff;
  font-size: 15px;
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 24px;
}
.project-tab {
  width: 238px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: url("../images/chnnel_2_lanmubg_green.png") center/100% 100%
    no-repeat;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.project-tab.is-active {
  background-image: url("../images/chnnel_2_lanmubg_blue.png");
}
.project-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-height: 380px;
  padding: 24px;
  background: rgba(255, 255, 236, 0.94);
}
.project-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #e7f4d0;
  border: 1px solid #9bc87c;
}
.project-feature img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.project-list-wrap {
  height: 332px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: #65a948 #e8f4cc;
  scrollbar-width: thin;
}
.project-list {
  display: grid;
  gap: 12px;
  align-content: center;
}
.project-list-wrap::-webkit-scrollbar {
  width: 8px;
}
.project-list-wrap::-webkit-scrollbar-track {
  border-radius: 8px;
  background: #e8f4cc;
}
.project-list-wrap::-webkit-scrollbar-thumb {
  border: 2px solid #e8f4cc;
  border-radius: 8px;
  background: #65a948;
}
.project-list[hidden] {
  display: none;
}
.project-list li a {
  display: block;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #74b570;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.84);
  color: #375435;
  font-size: 18px;
  line-height: 1.3;
}
.project-list li:hover a,
.project-list li:focus-within a {
  background: #e8f5d0;
  color: var(--green-deep);
}
.project-list li a:hover {
  background: #e5f6bd;
  color: var(--green-deep);
}

.committee-intro {
  width: 824px;
  height: 544px;
  margin: 0 auto 34px;
  padding: 170px 130px 70px;
  background: url("../images/chnnel_3_xuanshici_bg.png") center/824px 544px
    no-repeat;
  text-align: center;
}
.committee-sign {
  display: inline-block;
  margin-bottom: 22px;
  padding: 9px 28px;
  border-radius: 8px;
  background: var(--green-deep);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.committee-intro p {
  width: 520px;
  max-width: 100%;
  margin: 0 auto;
  /* padding: 0 18px; */
  margin-top: 63px;
  font-size: 23px;
  line-height: 1.8;
  text-indent: 2em;
  text-align: left;
}
.committee-intro-span {
  display: inline-block;
  text-indent: 2em;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  gap: 39px 18px;
  height: 747px;
  padding: 20px;
  overflow-y: auto;
  background: rgba(252, 255, 236, 0.95);
  scrollbar-color: #65a948 #e8f4cc;
  scrollbar-width: thin;
}
.committee-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 8px 10px;
  overflow: hidden;
  background: transparent;
  text-align: center;
}
.committee-grid figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 257 / 230;
  object-fit: contain;
}
.committee-title {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 4px;
  display: flex;
  align-items: center;
  width: min(122px, 52%);
  height: auto;
  aspect-ratio: 122 / 40;
  padding: 0 20px;
  display: inline-block;
  text-align: center;
  line-height: 37px;
  background: url("../images/chnnel_3_zhiwei_Title.png") center / 100% 100%
    no-repeat;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.committee-grid figcaption {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  color: #333;
}
.committee-grid figcaption strong {
  font-size: 28px;
  line-height: 1.25;
}
.committee-grid figcaption span {
  font-size: 17px;
  line-height: 1.5;
}

.green-feature {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  background: #fcffe9;
  overflow: hidden;
}
.green-feature-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.green-feature .green-qrcode {
  position: absolute;
  z-index: 2;
  top: 72.5%;
  left: 50%;
  width: 10.5%;
  height: auto;
  transform: translateX(-50%);
  object-fit: contain;
}
.green-feature span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(6, 112, 43, 0.9);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.review-panel {
  position: relative;
  width: 1280px;
  height: 264px;
  margin: 0 auto;
  padding: 18px 64px;
  background: #fbffdc;
  overflow: hidden;
}
.review-window {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.review-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.38s ease;
}
.review-slide {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  flex: 0 0 33.3333333333%;
  height: 100%;
  padding: 0 8px;
}
.review-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  position: relative;
  z-index: 1;
  /* min-height: 500px; */
  overflow: hidden;
  padding: 78px 20px 150px;
  background: #bfe48e;
  color: #365338;
  text-align: center;
  font-size: 18px;
  line-height: 2;
}
.site-footer-image {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
}
.site-footer p {
  position: relative;
  z-index: 1;
}

.content-card {
  position: relative;
  padding: 62px 72px 42px;
  background: var(--cream);
}
.list-card {
  width: var(--content-width);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  min-height: 1180px;
  padding: 72px 90px 64px;
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: var(--cream);
  box-shadow:
    0 0 0 3px rgba(91, 165, 54, 0.66),
    0 10px 20px rgba(70, 123, 31, 0.12);
}
.card-decoration {
  position: absolute;
  z-index: 0;
  width: 160px;
  height: 150px;
  background: url("../images/list_detail_bg_top.png") center/contain no-repeat;
  pointer-events: none;
}
.card-decoration-left {
  left: -54px;
  top: -54px;
  transform: scaleX(-1);
}
.card-decoration-right {
  right: -54px;
  top: -54px;
}
.card-heading,
.detail-heading,
.news-list,
.detail-body,
.detail-back {
  position: relative;
  z-index: 1;
}
.card-heading {
  margin-bottom: 26px;
  text-align: center;
}
.heading-mark {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: -4px;
  margin-right: 10px;
}
.card-heading h1,
.detail-heading h1 {
  display: inline;
  color: #2d3a2a;
  font-size: 38px;
  font-weight: 700;
}
.card-heading p {
  margin-top: 12px;
  color: #6b7b66;
  font-size: 16px;
}
.news-list {
  display: grid;
  gap: 0;
}
.news-list li {
  display: grid;
  grid-template-columns: 1fr 135px;
  align-items: center;
  min-height: 54px;
  padding: 0 12px 0 24px;
  border-bottom: 1px dashed rgba(70, 133, 54, 0.35);
  font-size: 19px;
}
.news-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: -16px;
  border-radius: 50%;
  background: var(--green-deep);
  grid-column: 1;
  grid-row: 1;
}
.news-list li a {
  grid-column: 1;
  grid-row: 1;
  padding-left: 0;
  color: #40513d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list li a:hover {
  color: var(--green-deep);
}
.news-list time {
  color: #7e8c78;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}
.list-card .news-list li {
  min-height: 54px;
  padding-right: 12px;
  padding-left: 24px;
  font-size: 17px;
}
.list-card .news-list li a {
  white-space: nowrap;
}
.detail-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
.detail-card::before {
  display: block;
  height: 267px;
  background: url("../images/list_detail_bg_top.png") center top / 100% auto
    no-repeat;
  content: "";
}
.detail-content {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  max-width: none;
  min-height: 780px;
  margin: -267px auto 0;
  padding: 68px 90px 52px;
  border: 6px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: var(--cream);
  box-shadow:
    0 0 0 3px rgba(91, 165, 54, 0.66),
    0 10px 20px rgba(70, 123, 31, 0.12);
}
.detail-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(68, 121, 51, 0.3);
  text-align: center;
}
.detail-heading h1 {
  display: block;
  font-size: 40px;
}
.detail-meta {
  margin-top: 16px;
  color: #7d8c75;
  font-size: 16px;
}
.detail-body {
  padding-top: 34px;
  color: #43533e;
  font-size: 19px;
  line-height: 2;
}
.detail-body p {
  margin-bottom: 16px;
}
.detail-body strong {
  color: #263c24;
}
.detail-body img,
.detail-body video {
  width: 70%;
  max-width: 100% !important;
  margin: 0.104167rem auto;
}
.detail-image {
  width: 680px;
  margin: 26px auto;
}
.detail-image img {
  display: block;
  width: 100%;
  height: auto;
}
.detail-back {
  margin-top: 30px;
  text-align: center;
}
.detail-back a {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 6px;
  background: var(--green-deep);
  color: #fff;
  font-size: 17px;
}

@media (min-width: 1600px) {
  .home-main {
    padding-top: 0;
  }
}
